D25700: [KHistoryComboBox] Add method to set an icon provider

Nicolas Fella noreply at phabricator.kde.org
Mon Dec 2 22:52:14 GMT 2019


nicolasfella created this revision.
nicolasfella added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
nicolasfella requested review of this revision.

REVISION SUMMARY
  An icon provider can be any function that takes a QString and returns a QIcon. This shall replace the setPixmapProvider to allow defining icons by name.
  
  Deprecation of setPixmapProvider will be done once the users are ported

TEST PLAN
  Tested with KDirSelectDialog and a patched plasma-integration

REPOSITORY
  R284 KCompletion

BRANCH
  icopro

REVISION DETAIL
  https://phabricator.kde.org/D25700

AFFECTED FILES
  src/khistorycombobox.cpp
  src/khistorycombobox.h

To: nicolasfella, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191202/0e4ad861/attachment.html>


More information about the Kde-frameworks-devel mailing list