Mercurial > trustbridge
diff ui/trayicon.h @ 1144:a4282bc67a8b
(issue99) Make OK button in message box notification configurable and change it for list updates
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 18 Sep 2014 11:08:57 +0200 |
parents | c096881e8ed0 |
children | 2a1aa9df8f11 |
line wrap: on
line diff
--- a/ui/trayicon.h Wed Sep 17 18:56:29 2014 +0200 +++ b/ui/trayicon.h Thu Sep 18 11:08:57 2014 +0200 @@ -34,7 +34,8 @@ public Q_SLOTS: void showMessage(const QString &title, const QString &msg, - QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); + QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000, + const QString &okBtnText = QString()); private Q_SLOTS: void messageDestroyed();