KStatusNotifierItem.showMessage() with custom icon

Andriy Rysin arysin at gmail.com
Mon Apr 18 04:24:12 BST 2011


In regards to https://bugs.kde.org/show_bug.cgi?id=66641

I am thinking to add an option to show notification when layout changes, 
and I already set the tooltip with text and my custom icon (if flags are 
shown) but showMessage() currently takes icon as QString. The question 
is can I pass QIcon to showMessage() somehow the same way I do with 
setToolTipIconByPixmap() ?

Or alternatively can I force the (already set) tooltip to show for short 
period of time?

Thanks
Andriy




More information about the kde-core-devel mailing list