summaryrefslogtreecommitdiffstats
path: root/kdesktop/dbus/screensaver/dbusscreensaverservice.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2024-12-18 14:35:13 +0000
committerEmanoil Kotsev <deloptes@gmail.com>2024-12-18 14:35:13 +0000
commit43b7fd601d4cd700e7e39e776b6e64528a9aea97 (patch)
tree33dc1be0320387bb1fb608f36e865a7a1b80b4a5 /kdesktop/dbus/screensaver/dbusscreensaverservice.h
parent790f526f18e7917e4c066112215e02e94fd628ac (diff)
downloadtdebase-43b7fd601d4cd700e7e39e776b6e64528a9aea97.tar.gz
tdebase-43b7fd601d4cd700e7e39e776b6e64528a9aea97.zip
DBus ScreenSaverfeat/dbusscreensaver
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'kdesktop/dbus/screensaver/dbusscreensaverservice.h')
-rw-r--r--kdesktop/dbus/screensaver/dbusscreensaverservice.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kdesktop/dbus/screensaver/dbusscreensaverservice.h b/kdesktop/dbus/screensaver/dbusscreensaverservice.h
index d556f201d..03713a4b1 100644
--- a/kdesktop/dbus/screensaver/dbusscreensaverservice.h
+++ b/kdesktop/dbus/screensaver/dbusscreensaverservice.h
@@ -22,27 +22,28 @@
#ifndef KDESKTOP_LOCK_DBUS_SCREENSAVER_DBUSSCREENSAVERSERVICE_H_
#define KDESKTOP_LOCK_DBUS_SCREENSAVER_DBUSSCREENSAVERSERVICE_H_
-#include <tqdbusconnection.h>
#include <tqmap.h>
+#include <tqdbusconnection.h>
-#include "dbus/screensaver/screensaverNode.h"
-#include "dbus/screensaver/dbusbaseNode.h"
+#include "dbus/interfaces/screensaverNode.h"
+#include "dbus/interfaces/dbusbaseNode.h"
#include "screensaverInterfaceImpl.h"
class ScreenSaverService: public org::freedesktop::screensaverNode
{
+ friend class TDEDbusScreenSaver;
+
public:
ScreenSaverService(TQT_DBusConnection&);
virtual ~ScreenSaverService();
- void stopService();
protected:
virtual TQT_DBusObjectBase* createInterface(const TQString&);
+ ScreenSaverInterfaceImpl *screenSaverInterface;
private:
TQMap<TQString, TQT_DBusObjectBase*> m_interfaces;
TQT_DBusConnection m_connection;
- ScreenSaverInterfaceImpl *screenSaverInterface;
};
class RootNodeService: public DBusBaseNode
@@ -69,11 +70,11 @@ private:
TQT_DBusConnection m_connection;
};
-class FreeDekstopNodeService: public DBusBaseNode
+class FreeDesktopNodeService: public DBusBaseNode
{
public:
- FreeDekstopNodeService(TQT_DBusConnection&);
- virtual ~FreeDekstopNodeService();
+ FreeDesktopNodeService(TQT_DBusConnection&);
+ virtual ~FreeDesktopNodeService();
protected:
virtual TQT_DBusObjectBase* createInterface(const TQString&);
private:
@@ -118,7 +119,7 @@ private:
RootNodeService *rootService;
OrgNodeService *orgService;
- FreeDekstopNodeService *freeDekstopNodeService;
+ FreeDesktopNodeService *freeDesktopNodeService;
ScreenSaverService *screenSaverService;
};