updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / 89989-eyesaver / screensaver_interface.h
blobad80c54dd078504f0f9f42a2de1293576019b055
1 /*
2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -m -p screensaver_interface /usr/share/dbus-1/interfaces/org.freedesktop.ScreenSaver.xml
5 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
11 #ifndef SCREENSAVER_INTERFACE_H_1222288518
12 #define SCREENSAVER_INTERFACE_H_1222288518
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
24 * Proxy class for interface org.freedesktop.ScreenSaver
26 class OrgFreedesktopScreenSaverInterface: public QDBusAbstractInterface
28 Q_OBJECT
29 public:
30 static inline const char *staticInterfaceName()
31 { return "org.freedesktop.ScreenSaver"; }
33 public:
34 OrgFreedesktopScreenSaverInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
36 ~OrgFreedesktopScreenSaverInterface();
38 public Q_SLOTS: // METHODS
39 inline QDBusReply<bool> GetActive()
41 QList<QVariant> argumentList;
42 return callWithArgumentList(QDBus::Block, QLatin1String("GetActive"), argumentList);
45 inline QDBusReply<uint> GetActiveTime()
47 QList<QVariant> argumentList;
48 return callWithArgumentList(QDBus::Block, QLatin1String("GetActiveTime"), argumentList);
51 inline QDBusReply<uint> GetSessionIdleTime()
53 QList<QVariant> argumentList;
54 return callWithArgumentList(QDBus::Block, QLatin1String("GetSessionIdleTime"), argumentList);
57 inline QDBusReply<uint> Inhibit(const QString &application_name, const QString &reason_for_inhibit)
59 QList<QVariant> argumentList;
60 argumentList << qVariantFromValue(application_name) << qVariantFromValue(reason_for_inhibit);
61 return callWithArgumentList(QDBus::Block, QLatin1String("Inhibit"), argumentList);
64 inline QDBusReply<void> Lock()
66 QList<QVariant> argumentList;
67 return callWithArgumentList(QDBus::Block, QLatin1String("Lock"), argumentList);
70 inline QDBusReply<bool> SetActive(bool e)
72 QList<QVariant> argumentList;
73 argumentList << qVariantFromValue(e);
74 return callWithArgumentList(QDBus::Block, QLatin1String("SetActive"), argumentList);
77 inline QDBusReply<void> SimulateUserActivity()
79 QList<QVariant> argumentList;
80 return callWithArgumentList(QDBus::Block, QLatin1String("SimulateUserActivity"), argumentList);
83 inline QDBusReply<uint> Throttle(const QString &application_name, const QString &reason_for_inhibit)
85 QList<QVariant> argumentList;
86 argumentList << qVariantFromValue(application_name) << qVariantFromValue(reason_for_inhibit);
87 return callWithArgumentList(QDBus::Block, QLatin1String("Throttle"), argumentList);
90 inline QDBusReply<void> UnInhibit(uint cookie)
92 QList<QVariant> argumentList;
93 argumentList << qVariantFromValue(cookie);
94 return callWithArgumentList(QDBus::Block, QLatin1String("UnInhibit"), argumentList);
97 inline QDBusReply<void> UnThrottle(uint cookie)
99 QList<QVariant> argumentList;
100 argumentList << qVariantFromValue(cookie);
101 return callWithArgumentList(QDBus::Block, QLatin1String("UnThrottle"), argumentList);
104 Q_SIGNALS: // SIGNALS
105 void ActiveChanged(bool in0);
108 namespace org {
109 namespace freedesktop {
110 typedef ::OrgFreedesktopScreenSaverInterface ScreenSaver;
113 #endif