ukui-search/ukui-search-service-dir-man.../dirwatcher/dir-watcher-adaptor.h

66 lines
1.9 KiB
C
Raw Normal View History

2022-10-21 11:21:35 +08:00
/*
* 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"
2022-10-21 11:21:35 +08:00
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
" </method>\n"
" <method name=\"removeIndexableListItem\">\n"
" <arg direction=\"out\" type=\"b\"/>\n"
2022-10-21 11:21:35 +08:00
" <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
" </method>\n"
2023-04-08 16:54:01 +08:00
" <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"
2022-10-21 11:21:35 +08:00
" </interface>\n"
"")
public:
DirWatcherAdaptor(QObject *parent);
virtual ~DirWatcherAdaptor();
public: // PROPERTIES
public Q_SLOTS: // METHODS
int appendIndexableListItem(const QString &path);
2023-04-08 16:54:01 +08:00
int appendSearchDir(const QString &path);
bool removeIndexableListItem(const QString &path);
2023-04-08 16:54:01 +08:00
void removeSearchDir(const QString &path);
2022-10-21 11:21:35 +08:00
Q_SIGNALS: // SIGNALS
};
#endif