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

66 lines
1.8 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.
* Do not edit! All changes made to it will be lost.
*/
#include "dir-watcher-adaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
/*
* Implementation of adaptor class FileindexAdaptor
*/
DirWatcherAdaptor::DirWatcherAdaptor(QObject *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}
DirWatcherAdaptor::~DirWatcherAdaptor()
{
// destructor
}
int DirWatcherAdaptor::appendIndexableListItem(const QString &path)
{
// handle method call org.ukui.search.fileindex.appendIndexableListItem
int out0;
QMetaObject::invokeMethod(parent(), "appendIndexableListItem", Q_RETURN_ARG(int, out0), Q_ARG(QString, path));
return out0;
}
int DirWatcherAdaptor::appendSearchDir(const QString &path)
{
// handle method call org.ukui.search.fileindex.appendSearchDir
int out0;
QMetaObject::invokeMethod(parent(), "appendSearchDir", Q_RETURN_ARG(int, out0), Q_ARG(QString, path));
return out0;
}
bool DirWatcherAdaptor::removeIndexableListItem(const QString &path)
{
// handle method call org.ukui.search.fileindex.removeIndexableListItem
bool out0;
QMetaObject::invokeMethod(parent(), "removeIndexableListItem", Q_RETURN_ARG(bool, out0), Q_ARG(QString, path));
return out0;
}
void DirWatcherAdaptor::removeSearchDir(const QString &path)
{
// handle method call org.ukui.search.fileindex.removeSearchDir
QMetaObject::invokeMethod(parent(), "removeSearchDir", Q_ARG(QString, path));
}