/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -m -a dbusmenuadaptor -i window.h -l Window /home/reion/Cutefish/core/gmenuproxy/com.canonical.dbusmenu.xml * * qdbusxml2cpp is Copyright (C) 2020 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 DBUSMENUADAPTOR_H #define DBUSMENUADAPTOR_H #include #include #include "window.h" QT_BEGIN_NAMESPACE class QByteArray; template class QList; template class QMap; class QString; class QStringList; class QVariant; QT_END_NAMESPACE /* * Adaptor class for interface com.canonical.dbusmenu */ class DbusmenuAdaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "com.canonical.dbusmenu") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: DbusmenuAdaptor(Window *parent); virtual ~DbusmenuAdaptor(); inline Window *parent() const { return static_cast(QObject::parent()); } public: // PROPERTIES Q_PROPERTY(QString Status READ status) QString status() const; Q_PROPERTY(uint Version READ version) uint version() const; public Q_SLOTS: // METHODS bool AboutToShow(int id); Q_NOREPLY void Event(int id, const QString &eventId, const QDBusVariant &data, uint timestamp); DBusMenuItemList GetGroupProperties(const QList &ids, const QStringList &propertyNames); uint GetLayout(int parentId, int recursionDepth, const QStringList &propertyNames, DBusMenuLayoutItem &item); QDBusVariant GetProperty(int id, const QString &property); Q_SIGNALS: // SIGNALS void ItemActivationRequested(int id, uint timeStamp); void ItemsPropertiesUpdated(DBusMenuItemList in0, DBusMenuItemKeysList in1); void LayoutUpdated(uint revision, int parentId); }; #endif