summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotificationDaemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/NotificationDaemon.h')
-rw-r--r--src/daemon/NotificationDaemon.h40
1 files changed, 12 insertions, 28 deletions
diff --git a/src/daemon/NotificationDaemon.h b/src/daemon/NotificationDaemon.h
index 3aa8983..c655f98 100644
--- a/src/daemon/NotificationDaemon.h
+++ b/src/daemon/NotificationDaemon.h
@@ -37,32 +37,6 @@ public:
NotificationDaemon();
virtual ~NotificationDaemon();
- bool isConnectedToDBUS();
-
-private slots:
- /*!
- * This function does a reconnect to D-Bus.
- * \return void
- */
- void slotReconnect();
- /*!
- * This function is to process D-Bus signals.
- * \return void
- */
- void slotDbusSignal(const TQT_DBusMessage&);
- /*!
- * This function is to check D-Bus connection.
- * and if the name is the unique name prepare the receivers
- * If the name is not the unique name it mans the service
- * is already running or unique name can not be obtained from
- * DBus. In this latter case the application will terminate.
- *
- * \return void
- */
- void slotConnectionCheck();
-
-// void slotCloseNotification(const TQ_UINT32);
-
private:
/*!
* This function initialise the connection to the D-Bus daemon.
@@ -72,7 +46,7 @@ private:
*/
bool initDBUS();
//! to close the connection to D-Bus
- void close();
+ void dbusConnectionClose();
private:
RootNodeService *rootService;
@@ -82,8 +56,18 @@ private:
TQT_DBusConnection mConnection;
int retryCount;
- TQString serviceName;
+private slots:
+ /*!
+ * This function does a reconnect to D-Bus.
+ * \return void
+ */
+ void slotReconnect();
+ /*!
+ * This function is to process D-Bus signals.
+ * \return void
+ */
+ void slotDbusSignal(const TQT_DBusMessage&);
};
#endif /* SRC_DAEMON_NOTIFICATIONDAEMON_H_ */