-
Notifications
You must be signed in to change notification settings - Fork 4
/
panel_adaptor.h
executable file
·47 lines (38 loc) · 1.39 KB
/
panel_adaptor.h
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
#ifndef RUN_ADAPTOR_H
#define RUN_ADAPTOR_H
#include <QObject>
#include <QtDBus/QtDBus>
#include <QWidget>
QT_BEGIN_NAMESPACE
class QString;
QT_END_NAMESPACE
/*
* Adaptor class for interface org.tawhid.session.org
*/
class panel_adaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.elokab.panel.Interface")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"org.elokab.panel.Interface\">\n"
" <method name=\"emitSignal\">\n"
" <arg name=\"key\" type=\"s\" direction=\"in\"/>"
" </method>"
" <method name=\"reconfigure\">\n"
" </method>"
" <method name=\"showHide\">\n"
" </method>"
" <method name=\"exit\">\n"
" </method>"
" </interface>\n"
"")
public:
panel_adaptor(QObject *parent);
virtual ~panel_adaptor();
public Q_SLOTS: // METHODS
void emitSignal(const QString &key);
void reconfigure();
void showHide();
void exit();
};
#endif