/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -p notifications.h:notifications.cpp notifications.xml * * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd. * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #ifndef NOTIFICATIONS_H #define NOTIFICATIONS_H #include #include #include #include #include #include #include #include /* * Proxy class for interface org.freedesktop.Notifications */ class OrgFreedesktopNotificationsInterface: public QDBusAbstractInterface { Q_OBJECT public: static inline const char *staticInterfaceName() { return "org.freedesktop.Notifications"; } public: OrgFreedesktopNotificationsInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); ~OrgFreedesktopNotificationsInterface(); public Q_SLOTS: // METHODS inline QDBusPendingReply<> CloseNotification(uint id) { QList argumentList; argumentList << QVariant::fromValue(id); return asyncCallWithArgumentList(QStringLiteral("CloseNotification"), argumentList); } inline QDBusPendingReply GetCapabilities() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetCapabilities"), argumentList); } inline QDBusPendingReply GetServerInformation() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetServerInformation"), argumentList); } inline QDBusReply GetServerInformation(QString &return_vendor, QString &return_version, QString &return_spec_version) { QList argumentList; QDBusMessage reply = callWithArgumentList(QDBus::Block, QStringLiteral("GetServerInformation"), argumentList); if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 4) { return_vendor = qdbus_cast(reply.arguments().at(1)); return_version = qdbus_cast(reply.arguments().at(2)); return_spec_version = qdbus_cast(reply.arguments().at(3)); } return reply; } inline QDBusPendingReply Notify(const QString &app_name, uint id, const QString &icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantMap &hints, int timeout) { QList argumentList; argumentList << QVariant::fromValue(app_name) << QVariant::fromValue(id) << QVariant::fromValue(icon) << QVariant::fromValue(summary) << QVariant::fromValue(body) << QVariant::fromValue(actions) << QVariant::fromValue(hints) << QVariant::fromValue(timeout); return asyncCallWithArgumentList(QStringLiteral("Notify"), argumentList); } Q_SIGNALS: // SIGNALS }; namespace org { namespace freedesktop { typedef ::OrgFreedesktopNotificationsInterface Notifications; } } #endif