/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -i result.h -p queryinterface /tmp/kde-build/kdebase/nepomuk-core-4.14.3/interfaces/org.kde.nepomuk.Query.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef QUERYINTERFACE_H_1445910260
#define QUERYINTERFACE_H_1445910260

#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 "result.h"

/*
 * Proxy class for interface org.kde.nepomuk.Query
 */
class OrgKdeNepomukQueryInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.nepomuk.Query"; }

public:
    OrgKdeNepomukQueryInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~OrgKdeNepomukQueryInterface();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> close()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("close"), argumentList);
    }

    inline QDBusPendingReply<bool> isListingFinished()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("isListingFinished"), argumentList);
    }

    inline QDBusPendingReply<> list()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("list"), argumentList);
    }

    inline QDBusPendingReply<> listen()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("listen"), argumentList);
    }

    inline QDBusPendingReply<QString> queryString()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("queryString"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void entriesRemoved(const QList<Nepomuk2::Query::Result> &entries);
    void entriesRemoved(const QStringList &entries);
    void finishedListing();
    void newEntries(const QList<Nepomuk2::Query::Result> &entries);
    void resultCount(int count);
};

namespace org {
  namespace kde {
    namespace nepomuk {
      typedef ::OrgKdeNepomukQueryInterface Query;
    }
  }
}
#endif
