/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -p kimiface /home/abuild/rpmbuild/BUILD/kdelibs-4.14.60/interfaces/kimproxy/interface/org.kde.KIMIface.xml
 *
 * qdbusxml2cpp is Copyright (C) 2014 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 KIMIFACE_H
#define KIMIFACE_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

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

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

    ~OrgKdeKIMInterface();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<bool> addContact(const QString &contactId, const QString &protocol)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(contactId) << QVariant::fromValue(protocol);
        return asyncCallWithArgumentList(QLatin1String("addContact"), argumentList);
    }

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

    inline QDBusPendingReply<bool> canReceiveFiles(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("canReceiveFiles"), argumentList);
    }

    inline QDBusPendingReply<bool> canRespond(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("canRespond"), argumentList);
    }

    inline QDBusPendingReply<> chatWithContact(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("chatWithContact"), argumentList);
    }

    inline QDBusPendingReply<QString> context(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("context"), argumentList);
    }

    inline QDBusPendingReply<QString> displayName(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("displayName"), argumentList);
    }

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

    inline QDBusPendingReply<bool> isPresent(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("isPresent"), argumentList);
    }

    inline QDBusPendingReply<QString> locate(const QString &contactId, const QString &protocol)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(contactId) << QVariant::fromValue(protocol);
        return asyncCallWithArgumentList(QLatin1String("locate"), argumentList);
    }

    inline QDBusPendingReply<> messageContact(const QString &uid, const QString &message)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid) << QVariant::fromValue(message);
        return asyncCallWithArgumentList(QLatin1String("messageContact"), argumentList);
    }

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

    inline QDBusPendingReply<QString> presenceString(const QString &uid)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid);
        return asyncCallWithArgumentList(QLatin1String("presenceString"), argumentList);
    }

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

    inline QDBusPendingReply<> sendFile(const QString &uid, const QString &sourceURL)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid) << QVariant::fromValue(sourceURL);
        return asyncCallWithArgumentList(QLatin1String("sendFile"), argumentList);
    }

    inline QDBusPendingReply<> sendFile(const QString &uid, const QString &sourceURL, const QString &altFileName)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid) << QVariant::fromValue(sourceURL) << QVariant::fromValue(altFileName);
        return asyncCallWithArgumentList(QLatin1String("sendFile"), argumentList);
    }

    inline QDBusPendingReply<> sendFile(const QString &uid, const QString &sourceURL, const QString &altFileName, qlonglong fileSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(uid) << QVariant::fromValue(sourceURL) << QVariant::fromValue(altFileName) << QVariant::fromValue(fileSize);
        return asyncCallWithArgumentList(QLatin1String("sendFile"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void contactPresenceChanged(const QString &uid, const QString &appId, int presence);
};

namespace org {
  namespace kde {
    typedef ::OrgKdeKIMInterface KIM;
  }
}
#endif
