From 5080ca13e37e8eb0ec66eecf6438ff7794df8cc3 Mon Sep 17 00:00:00 2001 From: jingshenghao Date: Mon, 13 Jan 2025 16:45:03 +0800 Subject: [PATCH] feat: Add files generated by qdbusXML2cpp and DCONG2cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add files generated by qdbusXML2cpp and DCONG2cpp Log: Add files generated by qdbusXML2cpp and DCONG2cpp --- .reuse/dep5 | 4 + ...m.deepin.filemanager.filedialogAdaptor.cpp | 367 ++++++++++++++++++ ...com.deepin.filemanager.filedialogAdaptor.h | 243 ++++++++++++ ...n.filemanager.filedialogmanagerAdaptor.cpp | 73 ++++ ...pin.filemanager.filedialogmanagerAdaptor.h | 68 ++++ 5 files changed, 755 insertions(+) create mode 100644 toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.cpp create mode 100644 toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h create mode 100644 toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.cpp create mode 100644 toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h diff --git a/.reuse/dep5 b/.reuse/dep5 index df9b6811..e919e978 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -64,3 +64,7 @@ License: CC0-1.0 Files: .obs/* Copyright: None License: CC0-1.0 + +Files: toolGenerate/**/* +Copyright: None +License: CC0-1.0 diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.cpp b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.cpp new file mode 100644 index 00000000..6568645b --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.cpp @@ -0,0 +1,367 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./qt5integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialog.xml -a ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor -i ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialog.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 "./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h" +#include +#include +#include +#include +#include +#include +#include + +/* + * Implementation of adaptor class FiledialogAdaptor + */ + +FiledialogAdaptor::FiledialogAdaptor(QObject *parent) + : QDBusAbstractAdaptor(parent) +{ + // constructor + setAutoRelaySignals(true); +} + +FiledialogAdaptor::~FiledialogAdaptor() +{ + // destructor +} + +int FiledialogAdaptor::acceptMode() const +{ + // get the value of property acceptMode + return qvariant_cast< int >(parent()->property("acceptMode")); +} + +void FiledialogAdaptor::setAcceptMode(int value) +{ + // set the value of property acceptMode + parent()->setProperty("acceptMode", QVariant::fromValue(value)); +} + +QString FiledialogAdaptor::directory() const +{ + // get the value of property directory + return qvariant_cast< QString >(parent()->property("directory")); +} + +void FiledialogAdaptor::setDirectory(const QString &value) +{ + // set the value of property directory + parent()->setProperty("directory", QVariant::fromValue(value)); +} + +QString FiledialogAdaptor::directoryUrl() const +{ + // get the value of property directoryUrl + return qvariant_cast< QString >(parent()->property("directoryUrl")); +} + +void FiledialogAdaptor::setDirectoryUrl(const QString &value) +{ + // set the value of property directoryUrl + parent()->setProperty("directoryUrl", QVariant::fromValue(value)); +} + +int FiledialogAdaptor::filter() const +{ + // get the value of property filter + return qvariant_cast< int >(parent()->property("filter")); +} + +void FiledialogAdaptor::setFilter(int value) +{ + // set the value of property filter + parent()->setProperty("filter", QVariant::fromValue(value)); +} + +int FiledialogAdaptor::heartbeatInterval() const +{ + // get the value of property heartbeatInterval + return qvariant_cast< int >(parent()->property("heartbeatInterval")); +} + +void FiledialogAdaptor::setHeartbeatInterval(int value) +{ + // set the value of property heartbeatInterval + parent()->setProperty("heartbeatInterval", QVariant::fromValue(value)); +} + +bool FiledialogAdaptor::hideOnAccept() const +{ + // get the value of property hideOnAccept + return qvariant_cast< bool >(parent()->property("hideOnAccept")); +} + +void FiledialogAdaptor::setHideOnAccept(bool value) +{ + // set the value of property hideOnAccept + parent()->setProperty("hideOnAccept", QVariant::fromValue(value)); +} + +QStringList FiledialogAdaptor::nameFilters() const +{ + // get the value of property nameFilters + return qvariant_cast< QStringList >(parent()->property("nameFilters")); +} + +void FiledialogAdaptor::setNameFilters(const QStringList &value) +{ + // set the value of property nameFilters + parent()->setProperty("nameFilters", QVariant::fromValue(value)); +} + +int FiledialogAdaptor::viewMode() const +{ + // get the value of property viewMode + return qvariant_cast< int >(parent()->property("viewMode")); +} + +void FiledialogAdaptor::setViewMode(int value) +{ + // set the value of property viewMode + parent()->setProperty("viewMode", QVariant::fromValue(value)); +} + +bool FiledialogAdaptor::windowActive() const +{ + // get the value of property windowActive + return qvariant_cast< bool >(parent()->property("windowActive")); +} + +uint FiledialogAdaptor::windowFlags() const +{ + // get the value of property windowFlags + return qvariant_cast< uint >(parent()->property("windowFlags")); +} + +void FiledialogAdaptor::setWindowFlags(uint value) +{ + // set the value of property windowFlags + parent()->setProperty("windowFlags", QVariant::fromValue(value)); +} + +void FiledialogAdaptor::accept() +{ + // handle method call com.deepin.filemanager.filedialog.accept + QMetaObject::invokeMethod(parent(), "accept"); +} + +void FiledialogAdaptor::activateWindow() +{ + // handle method call com.deepin.filemanager.filedialog.activateWindow + QMetaObject::invokeMethod(parent(), "activateWindow"); +} + +void FiledialogAdaptor::addCustomWidget(int type, const QString &data) +{ + // handle method call com.deepin.filemanager.filedialog.addCustomWidget + QMetaObject::invokeMethod(parent(), "addCustomWidget", Q_ARG(int, type), Q_ARG(QString, data)); +} + +void FiledialogAdaptor::addDisableUrlScheme(const QString &type) +{ + // handle method call com.deepin.filemanager.filedialog.addDisableUrlScheme + QMetaObject::invokeMethod(parent(), "addDisableUrlScheme", Q_ARG(QString, type)); +} + +QMap FiledialogAdaptor::allCustomWidgetsValue(int type) +{ + // handle method call com.deepin.filemanager.filedialog.allCustomWidgetsValue + QMap values; + QMetaObject::invokeMethod(parent(), "allCustomWidgetsValue", Q_RETURN_ARG(QMap, values), Q_ARG(int, type)); + return values; +} + +void FiledialogAdaptor::beginAddCustomWidget() +{ + // handle method call com.deepin.filemanager.filedialog.beginAddCustomWidget + QMetaObject::invokeMethod(parent(), "beginAddCustomWidget"); +} + +void FiledialogAdaptor::deleteLater() +{ + // handle method call com.deepin.filemanager.filedialog.deleteLater + QMetaObject::invokeMethod(parent(), "deleteLater"); +} + +void FiledialogAdaptor::endAddCustomWidget() +{ + // handle method call com.deepin.filemanager.filedialog.endAddCustomWidget + QMetaObject::invokeMethod(parent(), "endAddCustomWidget"); +} + +QDBusVariant FiledialogAdaptor::getCustomWidgetValue(int type, const QString &text) +{ + // handle method call com.deepin.filemanager.filedialog.getCustomWidgetValue + QDBusVariant value; + QMetaObject::invokeMethod(parent(), "getCustomWidgetValue", Q_RETURN_ARG(QDBusVariant, value), Q_ARG(int, type), Q_ARG(QString, text)); + return value; +} + +void FiledialogAdaptor::hide() +{ + // handle method call com.deepin.filemanager.filedialog.hide + QMetaObject::invokeMethod(parent(), "hide"); +} + +QString FiledialogAdaptor::labelText(int label) +{ + // handle method call com.deepin.filemanager.filedialog.labelText + QString text; + QMetaObject::invokeMethod(parent(), "labelText", Q_RETURN_ARG(QString, text), Q_ARG(int, label)); + return text; +} + +void FiledialogAdaptor::makeHeartbeat() +{ + // handle method call com.deepin.filemanager.filedialog.makeHeartbeat + QMetaObject::invokeMethod(parent(), "makeHeartbeat"); +} + +void FiledialogAdaptor::open() +{ + // handle method call com.deepin.filemanager.filedialog.open + QMetaObject::invokeMethod(parent(), "open"); +} + +int FiledialogAdaptor::options() +{ + // handle method call com.deepin.filemanager.filedialog.options + int options; + QMetaObject::invokeMethod(parent(), "options", Q_RETURN_ARG(int, options)); + return options; +} + +void FiledialogAdaptor::reject() +{ + // handle method call com.deepin.filemanager.filedialog.reject + QMetaObject::invokeMethod(parent(), "reject"); +} + +void FiledialogAdaptor::selectFile(const QString &filename) +{ + // handle method call com.deepin.filemanager.filedialog.selectFile + QMetaObject::invokeMethod(parent(), "selectFile", Q_ARG(QString, filename)); +} + +void FiledialogAdaptor::selectNameFilter(const QString &filter) +{ + // handle method call com.deepin.filemanager.filedialog.selectNameFilter + QMetaObject::invokeMethod(parent(), "selectNameFilter", Q_ARG(QString, filter)); +} + +void FiledialogAdaptor::selectNameFilterByIndex(int index) +{ + // handle method call com.deepin.filemanager.filedialog.selectNameFilterByIndex + QMetaObject::invokeMethod(parent(), "selectNameFilterByIndex", Q_ARG(int, index)); +} + +void FiledialogAdaptor::selectUrl(const QString &url) +{ + // handle method call com.deepin.filemanager.filedialog.selectUrl + QMetaObject::invokeMethod(parent(), "selectUrl", Q_ARG(QString, url)); +} + +QStringList FiledialogAdaptor::selectedFiles() +{ + // handle method call com.deepin.filemanager.filedialog.selectedFiles + QStringList filelist; + QMetaObject::invokeMethod(parent(), "selectedFiles", Q_RETURN_ARG(QStringList, filelist)); + return filelist; +} + +QString FiledialogAdaptor::selectedNameFilter() +{ + // handle method call com.deepin.filemanager.filedialog.selectedNameFilter + QString filter; + QMetaObject::invokeMethod(parent(), "selectedNameFilter", Q_RETURN_ARG(QString, filter)); + return filter; +} + +int FiledialogAdaptor::selectedNameFilterIndex() +{ + // handle method call com.deepin.filemanager.filedialog.selectedNameFilterIndex + int index; + QMetaObject::invokeMethod(parent(), "selectedNameFilterIndex", Q_RETURN_ARG(int, index)); + return index; +} + +QStringList FiledialogAdaptor::selectedUrls() +{ + // handle method call com.deepin.filemanager.filedialog.selectedUrls + QStringList urllist; + QMetaObject::invokeMethod(parent(), "selectedUrls", Q_RETURN_ARG(QStringList, urllist)); + return urllist; +} + +void FiledialogAdaptor::setAllowMixedSelection(bool on) +{ + // handle method call com.deepin.filemanager.filedialog.setAllowMixedSelection + QMetaObject::invokeMethod(parent(), "setAllowMixedSelection", Q_ARG(bool, on)); +} + +void FiledialogAdaptor::setCurrentInputName(const QString &name) +{ + // handle method call com.deepin.filemanager.filedialog.setCurrentInputName + QMetaObject::invokeMethod(parent(), "setCurrentInputName", Q_ARG(QString, name)); +} + +void FiledialogAdaptor::setFileMode(int fileMode) +{ + // handle method call com.deepin.filemanager.filedialog.setFileMode + QMetaObject::invokeMethod(parent(), "setFileMode", Q_ARG(int, fileMode)); +} + +void FiledialogAdaptor::setLabelText(int label, const QString &text) +{ + // handle method call com.deepin.filemanager.filedialog.setLabelText + QMetaObject::invokeMethod(parent(), "setLabelText", Q_ARG(int, label), Q_ARG(QString, text)); +} + +void FiledialogAdaptor::setOption(int option, bool on) +{ + // handle method call com.deepin.filemanager.filedialog.setOption + QMetaObject::invokeMethod(parent(), "setOption", Q_ARG(int, option), Q_ARG(bool, on)); +} + +void FiledialogAdaptor::setOptions(int options) +{ + // handle method call com.deepin.filemanager.filedialog.setOptions + QMetaObject::invokeMethod(parent(), "setOptions", Q_ARG(int, options)); +} + +void FiledialogAdaptor::setWindowTitle(const QString &title) +{ + // handle method call com.deepin.filemanager.filedialog.setWindowTitle + QMetaObject::invokeMethod(parent(), "setWindowTitle", Q_ARG(QString, title)); +} + +void FiledialogAdaptor::show() +{ + // handle method call com.deepin.filemanager.filedialog.show + QMetaObject::invokeMethod(parent(), "show"); +} + +bool FiledialogAdaptor::testOption(int option) +{ + // handle method call com.deepin.filemanager.filedialog.testOption + bool on; + QMetaObject::invokeMethod(parent(), "testOption", Q_RETURN_ARG(bool, on), Q_ARG(int, option)); + return on; +} + +qulonglong FiledialogAdaptor::winId() +{ + // handle method call com.deepin.filemanager.filedialog.winId + qulonglong windowId; + QMetaObject::invokeMethod(parent(), "winId", Q_RETURN_ARG(qulonglong, windowId)); + return windowId; +} + diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h new file mode 100644 index 00000000..8ede613a --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor.h @@ -0,0 +1,243 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./qt5integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialog.xml -a ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogAdaptor -i ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialog.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_FILEMANAGER_FILEDIALOGADAPTOR_H +#define COM_DEEPIN_FILEMANAGER_FILEDIALOGADAPTOR_H + +#include +#include +#include "./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialog.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 com.deepin.filemanager.filedialog + */ +class FiledialogAdaptor: public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "com.deepin.filemanager.filedialog") + Q_CLASSINFO("D-Bus Introspection", "" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" + "") +public: + FiledialogAdaptor(QObject *parent); + virtual ~FiledialogAdaptor(); + +public: // PROPERTIES + Q_PROPERTY(int acceptMode READ acceptMode WRITE setAcceptMode) + int acceptMode() const; + void setAcceptMode(int value); + + Q_PROPERTY(QString directory READ directory WRITE setDirectory) + QString directory() const; + void setDirectory(const QString &value); + + Q_PROPERTY(QString directoryUrl READ directoryUrl WRITE setDirectoryUrl) + QString directoryUrl() const; + void setDirectoryUrl(const QString &value); + + Q_PROPERTY(int filter READ filter WRITE setFilter) + int filter() const; + void setFilter(int value); + + Q_PROPERTY(int heartbeatInterval READ heartbeatInterval WRITE setHeartbeatInterval) + int heartbeatInterval() const; + void setHeartbeatInterval(int value); + + Q_PROPERTY(bool hideOnAccept READ hideOnAccept WRITE setHideOnAccept) + bool hideOnAccept() const; + void setHideOnAccept(bool value); + + Q_PROPERTY(QStringList nameFilters READ nameFilters WRITE setNameFilters) + QStringList nameFilters() const; + void setNameFilters(const QStringList &value); + + Q_PROPERTY(int viewMode READ viewMode WRITE setViewMode) + int viewMode() const; + void setViewMode(int value); + + Q_PROPERTY(bool windowActive READ windowActive) + bool windowActive() const; + + Q_PROPERTY(uint windowFlags READ windowFlags WRITE setWindowFlags) + uint windowFlags() const; + void setWindowFlags(uint value); + +public Q_SLOTS: // METHODS + void accept(); + void activateWindow(); + void addCustomWidget(int type, const QString &data); + void addDisableUrlScheme(const QString &type); + QMap allCustomWidgetsValue(int type); + void beginAddCustomWidget(); + void deleteLater(); + void endAddCustomWidget(); + QDBusVariant getCustomWidgetValue(int type, const QString &text); + void hide(); + QString labelText(int label); + void makeHeartbeat(); + void open(); + int options(); + void reject(); + void selectFile(const QString &filename); + void selectNameFilter(const QString &filter); + void selectNameFilterByIndex(int index); + void selectUrl(const QString &url); + QStringList selectedFiles(); + QString selectedNameFilter(); + int selectedNameFilterIndex(); + QStringList selectedUrls(); + void setAllowMixedSelection(bool on); + void setCurrentInputName(const QString &name); + void setFileMode(int fileMode); + void setLabelText(int label, const QString &text); + void setOption(int option, bool on); + void setOptions(int options); + void setWindowTitle(const QString &title); + void show(); + bool testOption(int option); + qulonglong winId(); +Q_SIGNALS: // SIGNALS + void accepted(); + void currentUrlChanged(); + void destroyed(); + void directoryChanged(); + void directoryUrlChanged(); + void finished(int result); + void rejected(); + void selectedNameFilterChanged(); + void selectionFilesChanged(); + void windowActiveChanged(); +}; + +#endif diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.cpp b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.cpp new file mode 100644 index 00000000..cf859f54 --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.cpp @@ -0,0 +1,73 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./qt5integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialogmanager.xml -a ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor -i ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanager.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 "./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h" +#include +#include +#include +#include +#include +#include +#include + +/* + * Implementation of adaptor class FiledialogmanagerAdaptor + */ + +FiledialogmanagerAdaptor::FiledialogmanagerAdaptor(QObject *parent) + : QDBusAbstractAdaptor(parent) +{ + // constructor + setAutoRelaySignals(true); +} + +FiledialogmanagerAdaptor::~FiledialogmanagerAdaptor() +{ + // destructor +} + +QDBusObjectPath FiledialogmanagerAdaptor::createDialog(const QString &key) +{ + // handle method call com.deepin.filemanager.filedialogmanager.createDialog + QDBusObjectPath path; + QMetaObject::invokeMethod(parent(), "createDialog", Q_RETURN_ARG(QDBusObjectPath, path), Q_ARG(QString, key)); + return path; +} + +void FiledialogmanagerAdaptor::destroyDialog(const QDBusObjectPath &path) +{ + // handle method call com.deepin.filemanager.filedialogmanager.destroyDialog + QMetaObject::invokeMethod(parent(), "destroyDialog", Q_ARG(QDBusObjectPath, path)); +} + +QList FiledialogmanagerAdaptor::dialogs() +{ + // handle method call com.deepin.filemanager.filedialogmanager.dialogs + QList dialogObjectList; + QMetaObject::invokeMethod(parent(), "dialogs", Q_RETURN_ARG(QList, dialogObjectList)); + return dialogObjectList; +} + +QString FiledialogmanagerAdaptor::errorString() +{ + // handle method call com.deepin.filemanager.filedialogmanager.errorString + QString error; + QMetaObject::invokeMethod(parent(), "errorString", Q_RETURN_ARG(QString, error)); + return error; +} + +bool FiledialogmanagerAdaptor::isUseFileChooserDialog() +{ + // handle method call com.deepin.filemanager.filedialogmanager.isUseFileChooserDialog + bool ok; + QMetaObject::invokeMethod(parent(), "isUseFileChooserDialog", Q_RETURN_ARG(bool, ok)); + return ok; +} + diff --git a/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h new file mode 100644 index 00000000..43959f1c --- /dev/null +++ b/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor.h @@ -0,0 +1,68 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp ./qt5integration/platformthemeplugin/xmls/com.deepin.filemanager.filedialogmanager.xml -a ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanagerAdaptor -i ./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanager.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_FILEMANAGER_FILEDIALOGMANAGERADAPTOR_H +#define COM_DEEPIN_FILEMANAGER_FILEDIALOGMANAGERADAPTOR_H + +#include +#include +#include "./qt5integration/toolGenerate/qdbusxml2cpp/com.deepin.filemanager.filedialogmanager.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 com.deepin.filemanager.filedialogmanager + */ +class FiledialogmanagerAdaptor: public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "com.deepin.filemanager.filedialogmanager") + Q_CLASSINFO("D-Bus Introspection", "" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" + "") +public: + FiledialogmanagerAdaptor(QObject *parent); + virtual ~FiledialogmanagerAdaptor(); + +public: // PROPERTIES +public Q_SLOTS: // METHODS + QDBusObjectPath createDialog(const QString &key); + void destroyDialog(const QDBusObjectPath &path); + QList dialogs(); + QString errorString(); + bool isUseFileChooserDialog(); +Q_SIGNALS: // SIGNALS +}; + +#endif