/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.kde.Index.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef INDEXINTERFACE_H
#define INDEXINTERFACE_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.index.Actions
 */
class OrgKdeIndexActionsInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.index.Actions"; }

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

    ~OrgKdeIndexActionsInterface();

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

    inline QDBusPendingReply<bool> isUrlOpen(const QString &url)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(url);
        return asyncCallWithArgumentList(QStringLiteral("isUrlOpen"), argumentList);
    }

    inline QDBusPendingReply<> openDirectories(const QStringList &dirs, bool splitView)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(dirs) << QVariant::fromValue(splitView);
        return asyncCallWithArgumentList(QStringLiteral("openDirectories"), argumentList);
    }

    inline QDBusPendingReply<> openFiles(const QStringList &files, bool splitView)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(files) << QVariant::fromValue(splitView);
        return asyncCallWithArgumentList(QStringLiteral("openFiles"), argumentList);
    }

    inline QDBusPendingReply<> openPaths(const QStringList &paths)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(paths);
        return asyncCallWithArgumentList(QStringLiteral("openPaths"), argumentList);
    }

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

    inline QDBusPendingReply<QVariantList> quickPaths()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("quickPaths"), argumentList);
    }

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

Q_SIGNALS: // SIGNALS
    void activate();
    void openPath(const QStringList &paths);
};

namespace org {
  namespace kde {
    namespace index {
      using Actions = ::OrgKdeIndexActionsInterface;
    }
  }
}
#endif
