Skip to content

Port deprecated QMap methods to QMultiMap

Alexander Lohnau requested to merge work/qmultimap_port into master

Considering that we have these methods in the public API, we can not change the return type. Consequently we have to provide an overload which provides the QMultiMap return value. This overload takes an enum value to avoid having a ambiguous member function call.

In case one disables deprecated public API, we can privide a default arg. This way consumers will not have to change their code for KF6.

Task: https://phabricator.kde.org/T14337

Since there were seemingly no KFileMetaData experts on the KF6 weekly, lets hope we can compensate having a few more eyes ;)

@ahmadsamir @vkrause @kossebau

Edited by Alexander Lohnau

Merge request reports