summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotifyWidget.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2021-06-05 12:35:10 +0200
committerEmanoil Kotsev <deloptes@gmail.com>2024-11-09 18:49:26 +0000
commit89b1302ca54bc14b96d620d1efa79ebf08fe93a1 (patch)
treeea50604b4d7fc35b7ce624ee734a1c00237c48ef /src/daemon/NotifyWidget.h
parent202ee25cb1c784abf9f13b74bfd2a27104e1e0e9 (diff)
downloadkdbusnotification-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.h3
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);