/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a menuadaptor -i menu-dbus-service.h -l UkuiMenu::MenuDbusService /home/hxf/work/openkylin/menu/ukui-menu/data/org.ukui.menu.xml
 *
 * qdbusxml2cpp is Copyright (C) 2022 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 MENUADAPTOR_H
#define MENUADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "menu-dbus-service.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.ukui.menu
 */
class MenuAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.ukui.menu")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.ukui.menu\">\n"
"    <method name=\"WinKeyResponse\"/>\n"
"    <method name=\"ReloadSecurityConfig\"/>\n"
"    <method name=\"GetSecurityConfigPath\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"    <method name=\"active\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"display\"/>\n"
"    </method>\n"
"    <signal name=\"activeRequest\">\n"
"      <arg direction=\"out\" type=\"s\" name=\"display\"/>\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    MenuAdaptor(UkuiMenu::MenuDbusService *parent);
    virtual ~MenuAdaptor();

    inline UkuiMenu::MenuDbusService *parent() const
    { return static_cast<UkuiMenu::MenuDbusService *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    QString GetSecurityConfigPath();
    void ReloadSecurityConfig();
    void WinKeyResponse();
    void active(const QString &display);
Q_SIGNALS: // SIGNALS
    void activeRequest(const QString &display);
};

#endif
