-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathorg.deepin.dde.PowerManager1Adaptor.h
More file actions
63 lines (58 loc) · 1.89 KB
/
Copy pathorg.deepin.dde.PowerManager1Adaptor.h
File metadata and controls
63 lines (58 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp ./dde-session-shell/xml/org.deepin.dde.PowerManager1.xml -a ./dde-session-shell/toolGenerate/qdbusxml2cpp/org.deepin.dde.PowerManager1Adaptor -i ./dde-session-shell/toolGenerate/qdbusxml2cpp/org.deepin.dde.PowerManager1.h
*
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
*
* This is an auto-generated file.
* This file may have been hand-edited. Look for HAND-EDIT comments
* before re-generating it.
*/
#ifndef ORG_DEEPIN_DDE_POWERMANAGER1ADAPTOR_H
#define ORG_DEEPIN_DDE_POWERMANAGER1ADAPTOR_H
#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "./dde-session-shell/toolGenerate/qdbusxml2cpp/org.deepin.dde.PowerManager1.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE
/*
* Adaptor class for interface org.deepin.dde.PowerManager1
*/
class PowerManager1Adaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.PowerManager1")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"org.deepin.dde.PowerManager1\">\n"
" <method name=\"CanHibernate\">\n"
" <arg direction=\"out\" type=\"b\"/>\n"
" </method>\n"
" <method name=\"CanReboot\">\n"
" <arg direction=\"out\" type=\"b\"/>\n"
" </method>\n"
" <method name=\"CanShutdown\">\n"
" <arg direction=\"out\" type=\"b\"/>\n"
" </method>\n"
" <method name=\"CanSuspend\">\n"
" <arg direction=\"out\" type=\"b\"/>\n"
" </method>\n"
" </interface>\n"
"")
public:
PowerManager1Adaptor(QObject *parent);
virtual ~PowerManager1Adaptor();
public: // PROPERTIES
public Q_SLOTS: // METHODS
bool CanHibernate();
bool CanReboot();
bool CanShutdown();
bool CanSuspend();
Q_SIGNALS: // SIGNALS
};
#endif