forked from openkylin/ukui-search
66 lines
1.9 KiB
C++
66 lines
1.9 KiB
C++
/*
|
|
* This file was generated by qdbusxml2cpp version 0.8
|
|
* Command line was: qdbusxml2cpp com.ukui.search.fileindex.server.xml -a dir-watcher-adaptor
|
|
*
|
|
* qdbusxml2cpp is Copyright (C) 2020 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 DIR_WATCHER_ADAPTOR_H
|
|
#define DIR_WATCHER_ADAPTOR_H
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtDBus/QtDBus>
|
|
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.ukui.search.fileindex
|
|
*/
|
|
class DirWatcherAdaptor: public QDBusAbstractAdaptor
|
|
{
|
|
Q_OBJECT
|
|
Q_CLASSINFO("D-Bus Interface", "org.ukui.search.fileindex")
|
|
Q_CLASSINFO("D-Bus Introspection", ""
|
|
" <interface name=\"org.ukui.search.fileindex\">\n"
|
|
" <method name=\"appendIndexableListItem\">\n"
|
|
" <arg direction=\"out\" type=\"i\"/>\n"
|
|
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
|
|
" </method>\n"
|
|
" <method name=\"removeIndexableListItem\">\n"
|
|
" <arg direction=\"out\" type=\"b\"/>\n"
|
|
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
|
|
" </method>\n"
|
|
" <method name=\"appendSearchDir\">\n"
|
|
" <arg direction=\"out\" type=\"i\"/>\n"
|
|
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
|
|
" </method>\n"
|
|
" <method name=\"removeSearchDir\">\n"
|
|
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
|
|
" </method>\n"
|
|
" </interface>\n"
|
|
"")
|
|
public:
|
|
DirWatcherAdaptor(QObject *parent);
|
|
virtual ~DirWatcherAdaptor();
|
|
|
|
public: // PROPERTIES
|
|
public Q_SLOTS: // METHODS
|
|
int appendIndexableListItem(const QString &path);
|
|
int appendSearchDir(const QString &path);
|
|
bool removeIndexableListItem(const QString &path);
|
|
void removeSearchDir(const QString &path);
|
|
Q_SIGNALS: // SIGNALS
|
|
};
|
|
|
|
#endif
|