Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files generated by qdbusXML2cpp and DCONG2cpp #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,8 @@ License: LGPL-3.0-or-later
Files: 3rdparty/antlr4.tar.gz
Copyright: 2012-2017 The ANTLR Project
License: BSD-3-Clause

Files: toolGenerate/**/*
Copyright: None
License: CC0-1.0

49 changes: 49 additions & 0 deletions toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp
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"

Check warning on line 11 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.h" not found.
#include <QtCore/QMetaObject>

Check warning on line 12 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QMetaObject> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QByteArray>

Check warning on line 13 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QByteArray> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QList>

Check warning on line 14 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QList> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QMap>

Check warning on line 15 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QMap> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QString>

Check warning on line 16 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QString> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QStringList>

Check warning on line 17 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QStringList> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QtCore/QVariant>

Check warning on line 18 in toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QVariant> not found. Please note: Cppcheck does not need standard library headers to get proper results.

/*
* 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 toolGenerate/qdbusxml2cpp/com.deepin.dde.GrandSearchAdaptor.h
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
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"

Check warning on line 11 in toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "./dde-grand-search/toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.h" not found.
#include <QtCore/QMetaObject>

Check warning on line 12 in toolGenerate/qdbusxml2cpp/com.deepin.dde.grandsearch.searchpluginAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QtCore/QMetaObject> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#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;
}

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
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 toolGenerate/qdbusxml2cpp/org.deepin.ai.daemon.QueryLangAdaptor.h
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
Loading
Loading