diff --git a/.reuse/dep5 b/.reuse/dep5 index b6d2f319..76c2567e 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -87,3 +87,7 @@ License: CC0-1.0 Files: install_dep arm64/org.dde.calendar.install org.dde.calendar.install loong64/org.dde.calendar.install Copyright: UnionTech Software Technology Co., Ltd. License: GPL-3.0-or-later + +Files: toolGenerate/**/* +Copyright: None +License: CC0-1.0 diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.cpp b/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.cpp new file mode 100644 index 00000000..28146130 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.cpp @@ -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 +#include +#include +#include +#include +#include +#include + +/* + * 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"); +} + diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.h b/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.h new file mode 100644 index 00000000..7d3f0b50 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.h @@ -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 +#include +#include "./dde-calendar/toolGenerate/qdbusxml2cpp/com.deepin.Calendar.h" +QT_BEGIN_NAMESPACE +class QByteArray; +template class QList; +template 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", "" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" + "") +public: + CalendarAdaptor(QObject *parent); + virtual ~CalendarAdaptor(); + +public: // PROPERTIES +public Q_SLOTS: // METHODS + void OpenSchedule(const QString &job); + void RaiseWindow(); +Q_SIGNALS: // SIGNALS +}; + +#endif diff --git a/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.cpp b/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.cpp new file mode 100644 index 00000000..8edd7025 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.cpp @@ -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 +#include +#include +#include +#include +#include +#include + diff --git a/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h b/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h new file mode 100644 index 00000000..bd300374 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h @@ -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 +#include +#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfo.h" +QT_BEGIN_NAMESPACE +class QByteArray; +template class QList; +template class QMap; +class QString; +class QStringList; +class QVariant; +QT_END_NAMESPACE + +#endif diff --git a/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.cpp b/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.cpp new file mode 100644 index 00000000..4625ce6e --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.cpp @@ -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 +#include +#include +#include +#include +#include +#include + +/* + * 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)); +} + diff --git a/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h b/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h new file mode 100644 index 00000000..10289d49 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h @@ -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 +#include +#include "./dde-calendar/toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenter.h" +QT_BEGIN_NAMESPACE +class QByteArray; +template class QList; +template 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", "" +" \n" +" \n" +" \n" +" \n" +" \n" + "") +public: + ControlCenter1Adaptor(QObject *parent); + virtual ~ControlCenter1Adaptor(); + +public: // PROPERTIES +public Q_SLOTS: // METHODS + void ShowPage(const QString &url); +Q_SIGNALS: // SIGNALS +}; + +#endif