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

Ll qt6.8 #218

Closed
wants to merge 2 commits into from
Closed
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
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
35 changes: 35 additions & 0 deletions calendar-client/config/dbus/ControlCenterAdaptor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// SPDX-FileCopyrightText: 2024 - 2025 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "ControlCenterAdaptor.h"
#include <QtCore/QMetaObject>

Check warning on line 6 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 6 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 7 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 7 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 8 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 8 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 9 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 9 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 10 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 10 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 11 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 11 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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 12 in calendar-client/config/dbus/ControlCenterAdaptor.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.

Check warning on line 12 in calendar-client/config/dbus/ControlCenterAdaptor.cpp

View workflow job for this annotation

GitHub Actions / static-check / static-check

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

/*
* Implementation of adaptor class ControlCenterAdaptor
*/

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

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

void ControlCenterAdaptor::ShowPage(const QString &url)
{
// handle method call org.deepin.dde.ControlCenter1.ShowPage
QMetaObject::invokeMethod(parent(), "ShowPage", Q_ARG(QString, url));
}

43 changes: 43 additions & 0 deletions calendar-client/config/dbus/ControlCenterAdaptor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// SPDX-FileCopyrightText: 2024 - 2025 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef CONTROLCENTERADAPTOR_H
#define CONTROLCENTERADAPTOR_H

#include <QtCore/QObject>

Check warning on line 8 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / cppcheck

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

Check warning on line 8 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / static-check / static-check

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

Check warning on line 9 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / cppcheck

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

Check warning on line 9 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / static-check / static-check

Include file: <QtDBus/QtDBus> not found. Please note: Cppcheck does not need standard library headers to get proper results.
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 ControlCenterAdaptor: 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:
ControlCenterAdaptor(QObject *parent);
virtual ~ControlCenterAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS

Check warning on line 38 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / cppcheck

There is an unknown macro here somewhere. Configuration is required. If Q_SLOTS is a macro then please configure it.

Check warning on line 38 in calendar-client/config/dbus/ControlCenterAdaptor.h

View workflow job for this annotation

GitHub Actions / static-check / static-check

There is an unknown macro here somewhere. Configuration is required. If Q_SLOTS is a macro then please configure it.
void ShowPage(const QString &url);
Q_SIGNALS: // SIGNALS
};

#endif
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
Loading