I'm developing a new KDE application and use designer for the UI.
In designer I can set the icon for a KPushButton to a name in the field "Theme"
which results in a call to
However I get a compiler warning due to setIcon being defined as deprecated with
the following comment:
* Sets the pixmap for this button. Rarely used. This one exists mostly for usage in Qt designer,
* with icons embedded into the ui file. But you should rather save them separately, and load them
* with KIcon("name") so that the icons are themeable.
KDE_DEPRECATED void setIcon( const QIcon &pix );
I assume this deprecation was done before Qt itself had the possibility to load an icon from a theme ?
So should the KDE_DEPRECATED be simply removed ?
|Review Request 108418: use system to suspend and hibernate in powerdevil||2|
|Review Request 113299: KDirWatch code style: braces for one-liner conditionals||2|
|Review Request: kjs/khtml: Reuse existing html5 Audio Element instead of duplicating it||4|
|Replacing the KIcon type with a factory method and is frameworks a good idea at all?||6|
|Review Request 110625: Make it possible to disable KAbstractFileItemActionPlugins by default||2|
|Review Request 124657: Show URL again in bookmarks view and URL texbox||1|
|KSecretsService components moving from playground||10|
|Review Request 112869: Do not leak sockets in kdelibs||5|
|Review Request: Plasma Components buttons: first focus, than emit clicked() signal||3|