/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a windowadaptor -i ViewManager.h -l Konsole::ViewManager /build/konsolepart5/src/build/src/org.kde.konsole.Window.xml
 *
 * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef WINDOWADAPTOR_H
#define WINDOWADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "ViewManager.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE

/*
 * Adaptor class for interface org.kde.konsole.Window
 */
class WindowAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.kde.konsole.Window")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.kde.konsole.Window\">\n"
"    <method name=\"sessionCount\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"sessionList\">\n"
"      <arg direction=\"out\" type=\"as\"/>\n"
"    </method>\n"
"    <method name=\"currentSession\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"setCurrentSession\">\n"
"      <arg direction=\"in\" type=\"i\" name=\"sessionId\"/>\n"
"    </method>\n"
"    <method name=\"newSession\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"newSession\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"profile\"/>\n"
"    </method>\n"
"    <method name=\"newSession\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"profile\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"directory\"/>\n"
"    </method>\n"
"    <method name=\"defaultProfile\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"    <method name=\"setDefaultProfile\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"profile\"/>\n"
"    </method>\n"
"    <method name=\"profileList\">\n"
"      <arg direction=\"out\" type=\"as\"/>\n"
"    </method>\n"
"    <method name=\"nextSession\"/>\n"
"    <method name=\"prevSession\"/>\n"
"    <method name=\"moveSessionLeft\"/>\n"
"    <method name=\"moveSessionRight\"/>\n"
"    <method name=\"setTabWidthToText\">\n"
"      <arg direction=\"in\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"saveLayoutFile\"/>\n"
"    <method name=\"loadLayoutFile\"/>\n"
"    <method name=\"loadLayout\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"File\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    WindowAdaptor(Konsole::ViewManager *parent);
    virtual ~WindowAdaptor();

    inline Konsole::ViewManager *parent() const
    { return static_cast<Konsole::ViewManager *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    int currentSession();
    QString defaultProfile();
    void loadLayout(const QString &File);
    void loadLayoutFile();
    void moveSessionLeft();
    void moveSessionRight();
    int newSession(const QString &profile, const QString &directory);
    int newSession(const QString &profile);
    int newSession();
    void nextSession();
    void prevSession();
    QStringList profileList();
    void saveLayoutFile();
    int sessionCount();
    QStringList sessionList();
    void setCurrentSession(int sessionId);
    void setDefaultProfile(const QString &profile);
    void setTabWidthToText(bool in0);
Q_SIGNALS: // SIGNALS
};

#endif
