/usr/include/strigi/qtdbus/strigidbus.h is in libstrigiqtdbusclient-dev 0.7.8-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /*
* This file was generated by dbusxml2cpp version 0.6
* Command line was: dbusxml2cpp -p strigidbus -i strigitypes.h strigiinterface.xml
*
* dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
#ifndef STRIGIDBUS_H_1165658185
#define STRIGIDBUS_H_1165658185
#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>
#include "strigitypes.h"
/*
* Proxy class for interface vandenoever.strigi
*/
class VandenoeverStrigiInterface: public QDBusAbstractInterface
{
Q_OBJECT
public:
static inline const char *staticInterfaceName()
{ return "vandenoever.strigi"; }
public:
VandenoeverStrigiInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
~VandenoeverStrigiInterface();
public Q_SLOTS: // METHODS
inline QDBusReply<int> countHits(const QString &query)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(query);
return callWithArgumentList(QDBus::Block, QLatin1String("countHits"), argumentList);
}
inline QDBusReply<int> countKeywords(const QString &query, const QString &keywordmatch, const QStringList &fieldnames)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(query) << qVariantFromValue(keywordmatch) << qVariantFromValue(fieldnames);
return callWithArgumentList(QDBus::Block, QLatin1String("countKeywords"), argumentList);
}
inline QDBusReply<QStringList> getBackEnds()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getBackEnds"), argumentList);
}
inline QDBusReply<QStringList> getFieldNames()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getFieldNames"), argumentList);
}
inline QDBusReply<QList<QPair<bool,QString> > > getFilters()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getFilters"), argumentList);
}
inline QDBusReply<QList<QPair<QString,quint32> > > getHistogram(const QString &query, const QString &field, const QString &labeltype)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(query) << qVariantFromValue(field) << qVariantFromValue(labeltype);
return callWithArgumentList(QDBus::Block, QLatin1String("getHistogram"), argumentList);
}
inline QDBusReply<QList<StrigiHit> > getHits(const QString &query, uint max, uint offset)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(query) << qVariantFromValue(max) << qVariantFromValue(offset);
return callWithArgumentList(QDBus::Block, QLatin1String("getHits"), argumentList);
}
inline QDBusReply<QStringList> getIndexedDirectories()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getIndexedDirectories"), argumentList);
}
inline QDBusReply<QStringList> getIndexedFiles()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getIndexedFiles"), argumentList);
}
inline QDBusReply<QStringList> getKeywords(const QString &query, const QString &keywordmatch, const QStringList &fieldnames, uint max, uint offset)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(query) << qVariantFromValue(keywordmatch) << qVariantFromValue(fieldnames) << qVariantFromValue(max) << qVariantFromValue(offset);
return callWithArgumentList(QDBus::Block, QLatin1String("getKeywords"), argumentList);
}
inline QDBusReply<QMap<QString,QString> > getStatus()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("getStatus"), argumentList);
}
inline QDBusReply<void> indexFile(const QString &path, qulonglong mtime, const QByteArray &content)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(path) << qVariantFromValue(mtime) << qVariantFromValue(content);
return callWithArgumentList(QDBus::Block, QLatin1String("indexFile"), argumentList);
}
inline QDBusReply<bool> isActive()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("isActive"), argumentList);
}
inline QDBusReply<void> setFilters(const QList<QPair<bool,QString> > &rules)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(rules);
return callWithArgumentList(QDBus::Block, QLatin1String("setFilters"), argumentList);
}
inline QDBusReply<QString> setIndexedDirectories(const QStringList &d)
{
QList<QVariant> argumentList;
argumentList << qVariantFromValue(d);
return callWithArgumentList(QDBus::Block, QLatin1String("setIndexedDirectories"), argumentList);
}
inline QDBusReply<QString> startIndexing()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("startIndexing"), argumentList);
}
inline QDBusReply<QString> stopDaemon()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("stopDaemon"), argumentList);
}
inline QDBusReply<QString> stopIndexing()
{
QList<QVariant> argumentList;
return callWithArgumentList(QDBus::Block, QLatin1String("stopIndexing"), argumentList);
}
Q_SIGNALS: // SIGNALS
};
namespace vandenoever {
typedef ::VandenoeverStrigiInterface strigi;
}
#endif
|