diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2021-06-05 12:35:10 +0200 |
---|---|---|
committer | Emanoil Kotsev <deloptes@gmail.com> | 2024-11-09 18:49:26 +0000 |
commit | 89b1302ca54bc14b96d620d1efa79ebf08fe93a1 (patch) | |
tree | ea50604b4d7fc35b7ce624ee734a1c00237c48ef /src/daemon/NotifyWidget.h | |
parent | 202ee25cb1c784abf9f13b74bfd2a27104e1e0e9 (diff) | |
download | kdbusnotification-89b1302ca54bc14b96d620d1efa79ebf08fe93a1.tar.gz kdbusnotification-89b1302ca54bc14b96d620d1efa79ebf08fe93a1.zip |
some improvments
display icon instead of text if supplied
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'src/daemon/NotifyWidget.h')
-rw-r--r-- | src/daemon/NotifyWidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/NotifyWidget.h b/src/daemon/NotifyWidget.h index 891d5aa..cee8d2e 100644 --- a/src/daemon/NotifyWidget.h +++ b/src/daemon/NotifyWidget.h @@ -24,6 +24,7 @@ #define SRC_DAEMON_NOTIFYWIDGET_H_ #include <tqlabel.h> +#include <tqtextedit.h> #include <tqdbusvariant.h> class NotificationsService; @@ -38,7 +39,7 @@ public: void setAutoMask(bool b); - void setIcon(const TQString& icon); + bool setIcon(const TQString& icon); void setActions(const TQStringList& actions); void setHints(const TQMap< TQString, TQT_DBusVariant >& hints); void setTimeout(TQ_INT32 t); |