Skip to content

Commit

Permalink
feat: Add files generated by qdbusXML2cpp and DCONG2cpp
Browse files Browse the repository at this point in the history
Add files generated by qdbusXML2cpp and DCONG2cpp

Log: Add files generated by qdbusXML2cpp and DCONG2cpp
  • Loading branch information
USFunction authored and rb-union committed Jan 20, 2025
1 parent aebe2b8 commit 3499fea
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -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
47 changes: 47 additions & 0 deletions toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.cpp
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");
}

53 changes: 53 additions & 0 deletions toolGenerate/qdbusxml2cpp/com.deepin.CalendarAdaptor.h
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 toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.cpp
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 toolGenerate/qdbusxml2cpp/org.deepin.calendar.metainfoAdaptor.h
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 toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.cpp
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 toolGenerate/qdbusxml2cpp/org.deepin.dde.ControlCenterAdaptor.h
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

0 comments on commit 3499fea

Please sign in to comment.