summaryrefslogtreecommitdiffstats
path: root/kdesktop/KScreensaverIface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/KScreensaverIface.h')
-rw-r--r--kdesktop/KScreensaverIface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kdesktop/KScreensaverIface.h b/kdesktop/KScreensaverIface.h
index 0ed26b67a..de5c19f2b 100644
--- a/kdesktop/KScreensaverIface.h
+++ b/kdesktop/KScreensaverIface.h
@@ -4,11 +4,13 @@
#include <dcopobject.h>
-class KScreensaverIface : virtual public DCOPObject
+class KScreensaverIface : public DCOPObject
{
K_DCOP
public:
+ KScreensaverIface() : DCOPObject("KScreensaverIface") {}
+
k_dcop:
/** Lock the screen now even if the screensaver does not lock by default. */
virtual void lock() = 0;