Linux KDE system notification c++/Qt -


i'm developing app (plasmoid) kde plasma 5 c++ , qt. simple way emit system notification (notification in corner of screen notification new email or disconnection network)? can terminal calling 'kdialog ...' don't know how c++ code , yeah don't want 'system(kdialog ...)'. thanks.

i found solution:

qsystemtrayicon* ic = new qsystemtrayicon(this); ic->setvisible(true); ic->showmessage(tr("notify"), tr("text"), qsystemtrayicon::information, 1000); qapp->processevents(); 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -