-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add files generated by qdbusXML2cpp and DCONG2cpp
Add files generated by qdbusXML2cpp and DCONG2cpp Log: Add files generated by qdbusXML2cpp and DCONG2cpp
- Loading branch information
1 parent
aebe2b8
commit 3499fea
Showing
7 changed files
with
242 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/assets/dbus/com.deepin.Calendar.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.Calendar.h | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. | ||
* | ||
* This is an auto-generated file. | ||
* Do not edit! All changes made to it will be lost. | ||
*/ | ||
|
||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.h" | ||
#include <QtCore/QMetaObject> | ||
#include <QtCore/QByteArray> | ||
#include <QtCore/QList> | ||
#include <QtCore/QMap> | ||
#include <QtCore/QString> | ||
#include <QtCore/QStringList> | ||
#include <QtCore/QVariant> | ||
|
||
/* | ||
* Implementation of adaptor class CalendarAdaptor | ||
*/ | ||
|
||
CalendarAdaptor::CalendarAdaptor(QObject *parent) | ||
: QDBusAbstractAdaptor(parent) | ||
{ | ||
// constructor | ||
setAutoRelaySignals(true); | ||
} | ||
|
||
CalendarAdaptor::~CalendarAdaptor() | ||
{ | ||
// destructor | ||
} | ||
|
||
void CalendarAdaptor::OpenSchedule(const QString &job) | ||
{ | ||
// handle method call com.deepin.dde.Calendar.OpenSchedule | ||
QMetaObject::invokeMethod(parent(), "OpenSchedule", Q_ARG(QString, job)); | ||
} | ||
|
||
void CalendarAdaptor::RaiseWindow() | ||
{ | ||
// handle method call com.deepin.dde.Calendar.RaiseWindow | ||
QMetaObject::invokeMethod(parent(), "RaiseWindow"); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/assets/dbus/com.deepin.Calendar.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.Calendar.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 COM_DEEPIN_CALENDARADAPTOR_H | ||
#define COM_DEEPIN_CALENDARADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.Calendar.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 com.deepin.dde.Calendar | ||
*/ | ||
class CalendarAdaptor: public QDBusAbstractAdaptor | ||
{ | ||
Q_OBJECT | ||
Q_CLASSINFO("D-Bus Interface", "com.deepin.dde.Calendar") | ||
Q_CLASSINFO("D-Bus Introspection", "" | ||
" <interface name=\"com.deepin.dde.Calendar\">\n" | ||
" <method name=\"RaiseWindow\"/>\n" | ||
" <method name=\"OpenSchedule\">\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"job\"/>\n" | ||
" </method>\n" | ||
" </interface>\n" | ||
"") | ||
public: | ||
CalendarAdaptor(QObject *parent); | ||
virtual ~CalendarAdaptor(); | ||
|
||
public: // PROPERTIES | ||
public Q_SLOTS: // METHODS | ||
void OpenSchedule(const QString &job); | ||
void RaiseWindow(); | ||
Q_SIGNALS: // SIGNALS | ||
}; | ||
|
||
#endif |
19 changes: 19 additions & 0 deletions
19
toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/assets/org.deepin.calendar.metainfo.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfo.h | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. | ||
* | ||
* This is an auto-generated file. | ||
* Do not edit! All changes made to it will be lost. | ||
*/ | ||
|
||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h" | ||
#include <QtCore/QMetaObject> | ||
#include <QtCore/QByteArray> | ||
#include <QtCore/QList> | ||
#include <QtCore/QMap> | ||
#include <QtCore/QString> | ||
#include <QtCore/QStringList> | ||
#include <QtCore/QVariant> | ||
|
27 changes: 27 additions & 0 deletions
27
toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/assets/org.deepin.calendar.metainfo.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfo.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_CALENDAR_METAINFOADAPTOR_H | ||
#define ORG_DEEPIN_CALENDAR_METAINFOADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfo.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 | ||
|
||
#endif |
41 changes: 41 additions & 0 deletions
41
toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/src/dbus/org.deepin.dde.ControlCenter.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenter.h | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. | ||
* | ||
* This is an auto-generated file. | ||
* Do not edit! All changes made to it will be lost. | ||
*/ | ||
|
||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h" | ||
#include <QtCore/QMetaObject> | ||
#include <QtCore/QByteArray> | ||
#include <QtCore/QList> | ||
#include <QtCore/QMap> | ||
#include <QtCore/QString> | ||
#include <QtCore/QStringList> | ||
#include <QtCore/QVariant> | ||
|
||
/* | ||
* Implementation of adaptor class ControlCenter1Adaptor | ||
*/ | ||
|
||
ControlCenter1Adaptor::ControlCenter1Adaptor(QObject *parent) | ||
: QDBusAbstractAdaptor(parent) | ||
{ | ||
// constructor | ||
setAutoRelaySignals(true); | ||
} | ||
|
||
ControlCenter1Adaptor::~ControlCenter1Adaptor() | ||
{ | ||
// destructor | ||
} | ||
|
||
void ControlCenter1Adaptor::ShowPage(const QString &url) | ||
{ | ||
// handle method call org.deepin.dde.ControlCenter1.ShowPage | ||
QMetaObject::invokeMethod(parent(), "ShowPage", Q_ARG(QString, url)); | ||
} | ||
|
51 changes: 51 additions & 0 deletions
51
toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-calendar/calendar-client/src/dbus/org.deepin.dde.ControlCenter.xml -a ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor -i ./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenter.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_CONTROLCENTERADAPTOR_H | ||
#define ORG_DEEPIN_DDE_CONTROLCENTERADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenter.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.ControlCenter1 | ||
*/ | ||
class ControlCenter1Adaptor: public QDBusAbstractAdaptor | ||
{ | ||
Q_OBJECT | ||
Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.ControlCenter1") | ||
Q_CLASSINFO("D-Bus Introspection", "" | ||
" <interface name=\"org.deepin.dde.ControlCenter1\">\n" | ||
" <method name=\"ShowPage\">\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"url\"/>\n" | ||
" </method>\n" | ||
" </interface>\n" | ||
"") | ||
public: | ||
ControlCenter1Adaptor(QObject *parent); | ||
virtual ~ControlCenter1Adaptor(); | ||
|
||
public: // PROPERTIES | ||
public Q_SLOTS: // METHODS | ||
void ShowPage(const QString &url); | ||
Q_SIGNALS: // SIGNALS | ||
}; | ||
|
||
#endif |