File indexing completed on 2024-04-21 05:50:50

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  * This file may have been hand-edited. Look for HAND-EDIT comments
0009  * before re-generating it.
0010  */
0011 
0012 #ifndef STASH_ADAPTOR_H
0013 #define STASH_ADAPTOR_H
0014 
0015 #include <QtCore/QObject>
0016 #include <QtCore/QStringList>
0017 #include <QtDBus/QtDBus>
0018 QT_BEGIN_NAMESPACE
0019 class QByteArray;
0020 template<class T>
0021 class QList;
0022 template<class Key, class Value>
0023 class QMap;
0024 class QString;
0025 class QVariant;
0026 QT_END_NAMESPACE
0027 
0028 /*
0029  * Adaptor class for interface org.kde.kio.StashNotifier
0030  */
0031 class StashNotifierAdaptor : public QDBusAbstractAdaptor
0032 {
0033     Q_OBJECT
0034     Q_CLASSINFO("D-Bus Interface", "org.kde.kio.StashNotifier")
0035     Q_CLASSINFO("D-Bus Introspection",
0036                 ""
0037                 "  <interface name=\"org.kde.kio.StashNotifier\">\n"
0038                 "    <signal name=\"listChanged\"/>\n"
0039                 "    <method name=\"addPath\">\n"
0040                 "      <arg direction=\"in\" type=\"s\" name=\"source\"/>\n"
0041                 "      <arg direction=\"in\" type=\"s\" name=\"stashPath\"/>\n"
0042                 "      <arg direction=\"in\" type=\"i\" name=\"fileType\"/>\n"
0043                 "    </method>\n"
0044                 "    <method name=\"removePath\">\n"
0045                 "      <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
0046                 "    </method>\n"
0047                 "    <method name=\"nukeStash\"/>\n"
0048                 "    <method name=\"pingDaemon\"/>\n"
0049                 "    <method name=\"copyWithStash\">\n"
0050                 "      <arg direction=\"out\" type=\"b\"/>\n"
0051                 "      <arg direction=\"in\" type=\"s\" name=\"src\"/>\n"
0052                 "      <arg direction=\"in\" type=\"s\" name=\"dest\"/>\n"
0053                 "    </method>\n"
0054                 "    <method name=\"fileList\">\n"
0055                 "      <arg direction=\"out\" type=\"as\"/>\n"
0056                 "      <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
0057                 "    </method>\n"
0058                 "    <method name=\"fileInfo\">\n"
0059                 "      <arg direction=\"out\" type=\"s\"/>\n"
0060                 "      <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
0061                 "    </method>\n"
0062                 "  </interface>\n"
0063                 "")
0064 public:
0065     StashNotifierAdaptor(QObject *parent);
0066     virtual ~StashNotifierAdaptor();
0067 
0068 public: // PROPERTIES
0069 public Q_SLOTS: // METHODS
0070     void addPath(const QString &source, const QString &stashPath, int fileType);
0071     bool copyWithStash(const QString &src, const QString &dest);
0072     QString fileInfo(const QString &path);
0073     QStringList fileList(const QString &path);
0074     void nukeStash();
0075     void pingDaemon();
0076     void removePath(const QString &path);
0077 Q_SIGNALS: // SIGNALS
0078     void listChanged();
0079 };
0080 
0081 #endif