Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1141:05d4e882fe18 | 1144:a4282bc67a8b |
---|---|
32 void show(); | 32 void show(); |
33 bool isAlternative() {return useAlt;} | 33 bool isAlternative() {return useAlt;} |
34 | 34 |
35 public Q_SLOTS: | 35 public Q_SLOTS: |
36 void showMessage(const QString &title, const QString &msg, | 36 void showMessage(const QString &title, const QString &msg, |
37 QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); | 37 QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000, |
38 const QString &okBtnText = QString()); | |
38 private Q_SLOTS: | 39 private Q_SLOTS: |
39 void messageDestroyed(); | 40 void messageDestroyed(); |
40 | 41 |
41 private: | 42 private: |
42 bool useAlt; | 43 bool useAlt; |