-
Notifications
You must be signed in to change notification settings - Fork 39
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
f6eaacd
commit aa21600
Showing
13 changed files
with
791 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
49 changes: 49 additions & 0 deletions
49
toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.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,49 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/src/grand-search/contacts/services/com.deepin.dde.GrandSearch.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearch.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-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.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 GrandSearchAdaptor | ||
*/ | ||
|
||
GrandSearchAdaptor::GrandSearchAdaptor(QObject *parent) | ||
: QDBusAbstractAdaptor(parent) | ||
{ | ||
// constructor | ||
setAutoRelaySignals(true); | ||
} | ||
|
||
GrandSearchAdaptor::~GrandSearchAdaptor() | ||
{ | ||
// destructor | ||
} | ||
|
||
bool GrandSearchAdaptor::IsVisible() | ||
{ | ||
// handle method call com.deepin.dde.GrandSearch.IsVisible | ||
bool out0; | ||
QMetaObject::invokeMethod(parent(), "IsVisible", Q_RETURN_ARG(bool, out0)); | ||
return out0; | ||
} | ||
|
||
void GrandSearchAdaptor::SetVisible(bool visible) | ||
{ | ||
// handle method call com.deepin.dde.GrandSearch.SetVisible | ||
QMetaObject::invokeMethod(parent(), "SetVisible", Q_ARG(bool, visible)); | ||
} | ||
|
59 changes: 59 additions & 0 deletions
59
toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.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,59 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/src/grand-search/contacts/services/com.deepin.dde.GrandSearch.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearch.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_DDE_GRANDSEARCHADAPTOR_H | ||
#define COM_DEEPIN_DDE_GRANDSEARCHADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearch.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.GrandSearch | ||
*/ | ||
class GrandSearchAdaptor: public QDBusAbstractAdaptor | ||
{ | ||
Q_OBJECT | ||
Q_CLASSINFO("D-Bus Interface", "com.deepin.dde.GrandSearch") | ||
Q_CLASSINFO("D-Bus Introspection", "" | ||
" <interface name=\"com.deepin.dde.GrandSearch\">\n" | ||
" <signal name=\"VisibleChanged\">\n" | ||
" <arg direction=\"out\" type=\"b\" name=\"vidible\"/>\n" | ||
" </signal>\n" | ||
" <method name=\"IsVisible\">\n" | ||
" <arg direction=\"out\" type=\"b\"/>\n" | ||
" </method>\n" | ||
" <method name=\"SetVisible\">\n" | ||
" <arg direction=\"in\" type=\"b\" name=\"visible\"/>\n" | ||
" </method>\n" | ||
" </interface>\n" | ||
"") | ||
public: | ||
GrandSearchAdaptor(QObject *parent); | ||
virtual ~GrandSearchAdaptor(); | ||
|
||
public: // PROPERTIES | ||
public Q_SLOTS: // METHODS | ||
bool IsVisible(); | ||
void SetVisible(bool visible); | ||
Q_SIGNALS: // SIGNALS | ||
void VisibleChanged(bool vidible); | ||
}; | ||
|
||
#endif |
19 changes: 19 additions & 0 deletions
19
toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor.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-grand-search/src/grand-search-dock-plugin/gschema/com.deepin.dde.dock.module.grand-search.gschema.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschema.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-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor.h" | ||
Check warning on line 11 in toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor.cpp
|
||
#include <QtCore/QMetaObject> | ||
Check warning on line 12 in toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor.cpp
|
||
#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/com.deepin.dde.dock.module.grand-search.gschemaAdaptor.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-grand-search/src/grand-search-dock-plugin/gschema/com.deepin.dde.dock.module.grand-search.gschema.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschemaAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschema.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_DDE_DOCK_MODULE_GRAND-SEARCH_GSCHEMAADAPTOR_H | ||
#define COM_DEEPIN_DDE_DOCK_MODULE_GRAND-SEARCH_GSCHEMAADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.dock.module.grand-search.gschema.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 |
59 changes: 59 additions & 0 deletions
59
toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.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,59 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/src/dde-grand-search-daemon/searchplugin/interface/abstract/com.deepin.dde.grandsearch.searchplugin.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchplugin.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-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.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 SearchPluginAdaptor | ||
*/ | ||
|
||
SearchPluginAdaptor::SearchPluginAdaptor(QObject *parent) | ||
: QDBusAbstractAdaptor(parent) | ||
{ | ||
// constructor | ||
setAutoRelaySignals(true); | ||
} | ||
|
||
SearchPluginAdaptor::~SearchPluginAdaptor() | ||
{ | ||
// destructor | ||
} | ||
|
||
bool SearchPluginAdaptor::Action(const QString &json) | ||
{ | ||
// handle method call com.deepin.dde.GrandSearch.SearchPlugin.Action | ||
bool out0; | ||
QMetaObject::invokeMethod(parent(), "Action", Q_RETURN_ARG(bool, out0), Q_ARG(QString, json)); | ||
return out0; | ||
} | ||
|
||
QString SearchPluginAdaptor::Search(const QString &json) | ||
{ | ||
// handle method call com.deepin.dde.GrandSearch.SearchPlugin.Search | ||
QString out0; | ||
QMetaObject::invokeMethod(parent(), "Search", Q_RETURN_ARG(QString, out0), Q_ARG(QString, json)); | ||
return out0; | ||
} | ||
|
||
bool SearchPluginAdaptor::Stop(const QString &json) | ||
{ | ||
// handle method call com.deepin.dde.GrandSearch.SearchPlugin.Stop | ||
bool out0; | ||
QMetaObject::invokeMethod(parent(), "Stop", Q_RETURN_ARG(bool, out0), Q_ARG(QString, json)); | ||
return out0; | ||
} | ||
|
62 changes: 62 additions & 0 deletions
62
toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.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,62 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/src/dde-grand-search-daemon/searchplugin/interface/abstract/com.deepin.dde.grandsearch.searchplugin.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchplugin.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_DDE_GRANDSEARCH_SEARCHPLUGINADAPTOR_H | ||
#define COM_DEEPIN_DDE_GRANDSEARCH_SEARCHPLUGINADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchplugin.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.GrandSearch.SearchPlugin | ||
*/ | ||
class SearchPluginAdaptor: public QDBusAbstractAdaptor | ||
{ | ||
Q_OBJECT | ||
Q_CLASSINFO("D-Bus Interface", "com.deepin.dde.GrandSearch.SearchPlugin") | ||
Q_CLASSINFO("D-Bus Introspection", "" | ||
" <interface name=\"com.deepin.dde.GrandSearch.SearchPlugin\">\n" | ||
" <method name=\"Search\">\n" | ||
" <arg direction=\"out\" type=\"s\"/>\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"json\"/>\n" | ||
" </method>\n" | ||
" <method name=\"Action\">\n" | ||
" <arg direction=\"out\" type=\"b\"/>\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"json\"/>\n" | ||
" </method>\n" | ||
" <method name=\"Stop\">\n" | ||
" <arg direction=\"out\" type=\"b\"/>\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"json\"/>\n" | ||
" </method>\n" | ||
" </interface>\n" | ||
"") | ||
public: | ||
SearchPluginAdaptor(QObject *parent); | ||
virtual ~SearchPluginAdaptor(); | ||
|
||
public: // PROPERTIES | ||
public Q_SLOTS: // METHODS | ||
bool Action(const QString &json); | ||
QString Search(const QString &json); | ||
bool Stop(const QString &json); | ||
Q_SIGNALS: // SIGNALS | ||
}; | ||
|
||
#endif |
51 changes: 51 additions & 0 deletions
51
toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor.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,51 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/3rdparty/interfaces/org.deepin.ai.daemon.QueryLang.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLang.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-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor.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 QueryLangAdaptor | ||
*/ | ||
|
||
QueryLangAdaptor::QueryLangAdaptor(QObject *parent) | ||
: QDBusAbstractAdaptor(parent) | ||
{ | ||
// constructor | ||
setAutoRelaySignals(true); | ||
} | ||
|
||
QueryLangAdaptor::~QueryLangAdaptor() | ||
{ | ||
// destructor | ||
} | ||
|
||
bool QueryLangAdaptor::Enable() | ||
{ | ||
// handle method call org.deepin.ai.daemon.QueryLang.Enable | ||
bool out0; | ||
QMetaObject::invokeMethod(parent(), "Enable", Q_RETURN_ARG(bool, out0)); | ||
return out0; | ||
} | ||
|
||
QString QueryLangAdaptor::Query(const QString &content) | ||
{ | ||
// handle method call org.deepin.ai.daemon.QueryLang.Query | ||
QString out0; | ||
QMetaObject::invokeMethod(parent(), "Query", Q_RETURN_ARG(QString, out0), Q_ARG(QString, content)); | ||
return out0; | ||
} | ||
|
56 changes: 56 additions & 0 deletions
56
toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor.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,56 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.8 | ||
* Command line was: qdbusxml2cpp ./dde-grand-search/3rdparty/interfaces/org.deepin.ai.daemon.QueryLang.xml -a ./dde-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor -i ./dde-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLang.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_AI_DAEMON_QUERYLANGADAPTOR_H | ||
#define ORG_DEEPIN_AI_DAEMON_QUERYLANGADAPTOR_H | ||
|
||
#include <QtCore/QObject> | ||
#include <QtDBus/QtDBus> | ||
#include "./dde-grand-search/toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLang.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.ai.daemon.QueryLang | ||
*/ | ||
class QueryLangAdaptor: public QDBusAbstractAdaptor | ||
{ | ||
Q_OBJECT | ||
Q_CLASSINFO("D-Bus Interface", "org.deepin.ai.daemon.QueryLang") | ||
Q_CLASSINFO("D-Bus Introspection", "" | ||
" <interface name=\"org.deepin.ai.daemon.QueryLang\">\n" | ||
" <method name=\"Query\">\n" | ||
" <arg direction=\"out\" type=\"s\"/>\n" | ||
" <arg direction=\"in\" type=\"s\" name=\"content\"/>\n" | ||
" </method>\n" | ||
" <method name=\"Enable\">\n" | ||
" <arg direction=\"out\" type=\"b\"/>\n" | ||
" </method>\n" | ||
" </interface>\n" | ||
"") | ||
public: | ||
QueryLangAdaptor(QObject *parent); | ||
virtual ~QueryLangAdaptor(); | ||
|
||
public: // PROPERTIES | ||
public Q_SLOTS: // METHODS | ||
bool Enable(); | ||
QString Query(const QString &content); | ||
Q_SIGNALS: // SIGNALS | ||
}; | ||
|
||
#endif |
Oops, something went wrong.