| 1 |
/* |
| 2 |
* This file was generated by qdbusxml2cpp version 0.8 |
| 3 |
* Command line was: qdbusxml2cpp ./dtkcore/src/dbus/org.desktopspec.ConfigManager.xml -a ./dtkcore/toolGenerate/qdbusxml2cpp/org.desktopspec.ConfigManagerAdaptor -i ./dtkcore/toolGenerate/qdbusxml2cpp/org.desktopspec.ConfigManager.h |
| 4 |
* |
| 5 |
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. |
| 6 |
* |
| 7 |
* This is an auto-generated file. |
| 8 |
* Do not edit! All changes made to it will be lost. |
| 9 |
*/ |
| 10 |
|
| 11 |
#include "./dtkcore/toolGenerate/qdbusxml2cpp/org.desktopspec.ConfigManagerAdaptor.h" |
| 12 |
#include <QtCore/QMetaObject> |
| 13 |
#include <QtCore/QByteArray> |
| 14 |
#include <QtCore/QList> |
| 15 |
#include <QtCore/QMap> |
| 16 |
#include <QtCore/QString> |
| 17 |
#include <QtCore/QStringList> |
| 18 |
#include <QtCore/QVariant> |
| 19 |
|
| 20 |
/* |
| 21 |
* Implementation of adaptor class ConfigManagerAdaptor |
| 22 |
*/ |
| 23 |
|
| 24 |
ConfigManagerAdaptor::ConfigManagerAdaptor(QObject *parent) |
| 25 |
: QDBusAbstractAdaptor(parent) |
| 26 |
{ |
| 27 |
// constructor |
| 28 |
setAutoRelaySignals(true); |
| 29 |
} |
| 30 |
|
| 31 |
ConfigManagerAdaptor::~ConfigManagerAdaptor() |
| 32 |
{ |
| 33 |
// destructor |
| 34 |
} |
| 35 |
|
| 36 |
QDBusObjectPath ConfigManagerAdaptor::acquireManager(const QString &appid, const QString &name, const QString &subpath) |
| 37 |
{ |
| 38 |
// handle method call org.desktopspec.ConfigManager.acquireManager |
| 39 |
QDBusObjectPath path; |
| 40 |
QMetaObject::invokeMethod(parent(), "acquireManager", Q_RETURN_ARG(QDBusObjectPath, path), Q_ARG(QString, appid), Q_ARG(QString, name), Q_ARG(QString, subpath)); |
| 41 |
return path; |
| 42 |
} |
| 43 |
|
| 44 |
void ConfigManagerAdaptor::sync(const QString &path) |
| 45 |
{ |
| 46 |
// handle method call org.desktopspec.ConfigManager.sync |
| 47 |
QMetaObject::invokeMethod(parent(), "sync", Q_ARG(QString, path)); |
| 48 |
} |
| 49 |
|
| 50 |
void ConfigManagerAdaptor::update(const QString &path) |
| 51 |
{ |
| 52 |
// handle method call org.desktopspec.ConfigManager.update |
| 53 |
QMetaObject::invokeMethod(parent(), "update", Q_ARG(QString, path)); |
| 54 |
} |
| 55 |
|