/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -i result.h -p queryinterface /tmp_ports/nepomuk-core-4.11.5/nepomuk-core-4.11.5/interfaces/org.kde.nepomuk.Query.xml
 *
 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef QUERYINTERFACE_H_1393976902
#define QUERYINTERFACE_H_1393976902

#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
