diff --git a/.reuse/dep5 b/.reuse/dep5 index 4f47b65..0290a03 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -33,3 +33,6 @@ Files: *.deepin.dde.*.xml */org.desktopspec.*.xml 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/org.deepin.dde.daemon.Launcher1Adaptor.cpp b/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.cpp new file mode 100644 index 0000000..e8ab185 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.cpp @@ -0,0 +1,41 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./dde-application-wizard/dbus/org.deepin.dde.daemon.Launcher1.xml -a ./dde-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor -i ./dde-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1.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-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.h" +#include +#include +#include +#include +#include +#include +#include + +/* + * Implementation of adaptor class Launcher1Adaptor + */ + +Launcher1Adaptor::Launcher1Adaptor(QObject *parent) + : QDBusAbstractAdaptor(parent) +{ + // constructor + setAutoRelaySignals(true); +} + +Launcher1Adaptor::~Launcher1Adaptor() +{ + // destructor +} + +void Launcher1Adaptor::RequestUninstall(const QString &desktop, bool unused) +{ + // handle method call org.deepin.dde.daemon.Launcher1.RequestUninstall + QMetaObject::invokeMethod(parent(), "RequestUninstall", Q_ARG(QString, desktop), Q_ARG(bool, unused)); +} + diff --git a/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.h b/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.h new file mode 100644 index 0000000..306d36b --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor.h @@ -0,0 +1,61 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./dde-application-wizard/dbus/org.deepin.dde.daemon.Launcher1.xml -a ./dde-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1Adaptor -i ./dde-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1.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_DAEMON_LAUNCHER1ADAPTOR_H +#define ORG_DEEPIN_DDE_DAEMON_LAUNCHER1ADAPTOR_H + +#include +#include +#include "./dde-application-wizard/toolGenerate/qdbusxml2cpp/org.deepin.dde.daemon.Launcher1.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.daemon.Launcher1 + */ +class Launcher1Adaptor: public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.daemon.Launcher1") + Q_CLASSINFO("D-Bus Introspection", "" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" + "") +public: + Launcher1Adaptor(QObject *parent); + virtual ~Launcher1Adaptor(); + +public: // PROPERTIES +public Q_SLOTS: // METHODS + void RequestUninstall(const QString &desktop, bool unused); +Q_SIGNALS: // SIGNALS + void UninstallFailed(const QString &appId, const QString &errMsg); + void UninstallSuccess(const QString &appID); +}; + +#endif