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 #387

Merged
merged 1 commit into from
Jan 14, 2025
Merged
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 @@ -61,6 +61,10 @@ Files: CMakeLists.txt tests/dde-lowpower/dde-lowpower.pro
Copyright: None
License: CC0-1.0

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

# qss service
Files: dde-osd/src/light.qss
dde-osd/*.service dde-warning-dialog/*.service dde-welcome/*.service dmemory-warning-dialog/*.service
Expand All @@ -76,3 +80,4 @@ License: GPL-3.0-or-later
Files: dde-osd/src/notification/dbus* global_util/dbus/*
Copyright: The Qt Company Ltd.
License: CC0-1.0

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp ./dde-session-ui/xml/com.deepin.chromeExtension.TabsLimit.xml -a ./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor -i ./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimit.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-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor.h"

Check warning on line 11 in toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor.h" not found.
#include <QtCore/QMetaObject>

Check warning on line 12 in toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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.chromeExtension.TabsLimitAdaptor.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 TabsLimitAdaptor
*/

TabsLimitAdaptor::TabsLimitAdaptor(QObject *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}

TabsLimitAdaptor::~TabsLimitAdaptor()
{
// destructor
}

void TabsLimitAdaptor::CloseTab(int in0)
{
// handle method call com.deepin.chromeExtension.TabsLimit.CloseTab
QMetaObject::invokeMethod(parent(), "CloseTab", Q_ARG(int, in0));
}

QString TabsLimitAdaptor::GetProcessInfo()
{
// handle method call com.deepin.chromeExtension.TabsLimit.GetProcessInfo
QString out0;
QMetaObject::invokeMethod(parent(), "GetProcessInfo", Q_RETURN_ARG(QString, out0));
return out0;
}

void TabsLimitAdaptor::OpenUrl(const QString &in0)
{
// handle method call com.deepin.chromeExtension.TabsLimit.OpenUrl
QMetaObject::invokeMethod(parent(), "OpenUrl", Q_ARG(QString, in0));
}

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-session-ui/xml/com.deepin.chromeExtension.TabsLimit.xml -a ./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimitAdaptor -i ./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimit.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_CHROMEEXTENSION_TABSLIMITADAPTOR_H
#define COM_DEEPIN_CHROMEEXTENSION_TABSLIMITADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "./dde-session-ui/toolGenerate/qdbusxml2cpp/com.deepin.chromeExtension.TabsLimit.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.chromeExtension.TabsLimit
*/
class TabsLimitAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "com.deepin.chromeExtension.TabsLimit")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"com.deepin.chromeExtension.TabsLimit\">\n"
" <method name=\"CloseTab\">\n"
" <arg direction=\"in\" type=\"i\"/>\n"
" </method>\n"
" <method name=\"GetProcessInfo\">\n"
" <arg direction=\"out\" type=\"s\"/>\n"
" </method>\n"
" <method name=\"OpenUrl\">\n"
" <arg direction=\"in\" type=\"s\"/>\n"
" </method>\n"
" </interface>\n"
"")
public:
TabsLimitAdaptor(QObject *parent);
virtual ~TabsLimitAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
void CloseTab(int in0);
QString GetProcessInfo();
void OpenUrl(const QString &in0);
Q_SIGNALS: // SIGNALS
};

#endif
Loading
Loading