File indexing completed on 2024-04-28 05:50:26
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.8 0003 * Command line was: 0004 * 0005 * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd. 0006 * 0007 * This is an auto-generated file. 0008 * Do not edit! All changes made to it will be lost. 0009 */ 0010 0011 #include "stash_adaptor.h" 0012 #include <QtCore/QByteArray> 0013 #include <QtCore/QList> 0014 #include <QtCore/QMap> 0015 #include <QtCore/QMetaObject> 0016 #include <QtCore/QString> 0017 #include <QtCore/QStringList> 0018 #include <QtCore/QVariant> 0019 0020 /* 0021 * Implementation of adaptor class StashNotifierAdaptor 0022 */ 0023 0024 StashNotifierAdaptor::StashNotifierAdaptor(QObject *parent) 0025 : QDBusAbstractAdaptor(parent) 0026 { 0027 // constructor 0028 setAutoRelaySignals(true); 0029 } 0030 0031 StashNotifierAdaptor::~StashNotifierAdaptor() 0032 { 0033 // destructor 0034 } 0035 0036 void StashNotifierAdaptor::addPath(const QString &source, const QString &stashPath, int fileType) 0037 { 0038 // handle method call org.kde.kio.StashNotifier.addPath 0039 QMetaObject::invokeMethod(parent(), "addPath", Q_ARG(QString, source), Q_ARG(QString, stashPath), Q_ARG(int, fileType)); 0040 } 0041 0042 bool StashNotifierAdaptor::copyWithStash(const QString &src, const QString &dest) 0043 { 0044 // handle method call org.kde.kio.StashNotifier.copyWithStash 0045 bool out0; 0046 QMetaObject::invokeMethod(parent(), "copyWithStash", Q_RETURN_ARG(bool, out0), Q_ARG(QString, src), Q_ARG(QString, dest)); 0047 return out0; 0048 } 0049 0050 QString StashNotifierAdaptor::fileInfo(const QString &path) 0051 { 0052 // handle method call org.kde.kio.StashNotifier.fileInfo 0053 QString out0; 0054 QMetaObject::invokeMethod(parent(), "fileInfo", Q_RETURN_ARG(QString, out0), Q_ARG(QString, path)); 0055 return out0; 0056 } 0057 0058 QStringList StashNotifierAdaptor::fileList(const QString &path) 0059 { 0060 // handle method call org.kde.kio.StashNotifier.fileList 0061 QStringList out0; 0062 QMetaObject::invokeMethod(parent(), "fileList", Q_RETURN_ARG(QStringList, out0), Q_ARG(QString, path)); 0063 return out0; 0064 } 0065 0066 void StashNotifierAdaptor::nukeStash() 0067 { 0068 // handle method call org.kde.kio.StashNotifier.nukeStash 0069 QMetaObject::invokeMethod(parent(), "nukeStash"); 0070 } 0071 0072 void StashNotifierAdaptor::pingDaemon() 0073 { 0074 // handle method call org.kde.kio.StashNotifier.pingDaemon 0075 QMetaObject::invokeMethod(parent(), "pingDaemon"); 0076 } 0077 0078 void StashNotifierAdaptor::removePath(const QString &path) 0079 { 0080 // handle method call org.kde.kio.StashNotifier.removePath 0081 QMetaObject::invokeMethod(parent(), "removePath", Q_ARG(QString, path)); 0082 }