summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotificationsService.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <[email protected]>2024-06-26 20:21:35 +0000
committerEmanoil Kotsev <[email protected]>2024-11-09 18:49:26 +0000
commit7ea09f3f10350e44b8b41566f50449219cf6a4bf (patch)
tree13f43bb3f49078d63cdc992a5f50301bcba6e10d /src/daemon/NotificationsService.h
parentfddb92945609b0b1f69967a9729f030b712ebdca (diff)
downloadkdbusnotification-7ea09f3f10350e44b8b41566f50449219cf6a4bf.tar.gz
kdbusnotification-7ea09f3f10350e44b8b41566f50449219cf6a4bf.zip
Update and clean up
Signed-off-by: Emanoil Kotsev <[email protected]>
Diffstat (limited to 'src/daemon/NotificationsService.h')
-rw-r--r--src/daemon/NotificationsService.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/daemon/NotificationsService.h b/src/daemon/NotificationsService.h
index 524d00e..c461b34 100644
--- a/src/daemon/NotificationsService.h
+++ b/src/daemon/NotificationsService.h
@@ -45,25 +45,21 @@ public:
protected: // implement sending signals
virtual bool handleSignalSend(const TQT_DBusMessage& reply);
+ // return the object path
virtual TQString objectPath() const;
protected:
+ // implement DBus calls
virtual bool GetCapabilities(TQStringList& return_caps, TQT_DBusError& error);
-
virtual void CloseNotificationAsync(int asyncCallId, TQ_UINT32 id);
-
virtual bool ReloadSettings(TQT_DBusError& error);
-
virtual bool GetServerInformation(TQString& return_name, TQString& return_vendor, TQString& return_version, TQString& return_spec_version, TQT_DBusError& error);
-
virtual void NotifyAsync(int asyncCallId, const TQString& app_name, TQ_UINT32 id, const TQString& icon, const TQString& summary, const TQString& body, const TQStringList& actions, const TQMap< TQString, TQT_DBusVariant >& hints, TQ_INT32 timeout);
-
-protected: // implement sending replies
+ // implement sending replies
virtual void handleMethodReply(const TQT_DBusMessage& reply);
private:
TQT_DBusConnection *mConnection;
-
TQMap<TQ_UINT32, NotifyWidget*> notificationMap;
};