/* * This file was generated by qdbusxml2cpp version 0.7 * Command line was: qdbusxml2cpp -p notifications.h:notifications.cpp notifications.xml * * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #ifndef NOTIFICATIONS_H_1301681398 #define NOTIFICATIONS_H_1301681398 #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 = 0); ~OrgFreedesktopNotificationsInterface(); public Q_SLOTS: // METHODS inline QDBusPendingReply<> CloseNotification(uint id) { QList argumentList; argumentList << qVariantFromValue(id); return asyncCallWithArgumentList(QLatin1String("CloseNotification"), argumentList); } inline QDBusPendingReply GetCapabilities() { QList argumentList; return asyncCallWithArgumentList(QLatin1String("GetCapabilities"), argumentList); } inline QDBusPendingReply GetServerInformation() { QList argumentList; return asyncCallWithArgumentList(QLatin1String("GetServerInformation"), argumentList); } inline QDBusReply GetServerInformation(QString &return_vendor, QString &return_version, QString &return_spec_version) { QList argumentList; QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("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 << qVariantFromValue(app_name) << qVariantFromValue(id) << qVariantFromValue(icon) << qVariantFromValue(summary) << qVariantFromValue(body) << qVariantFromValue(actions) << qVariantFromValue(hints) << qVariantFromValue(timeout); return asyncCallWithArgumentList(QLatin1String("Notify"), argumentList); } Q_SIGNALS: // SIGNALS }; namespace org { namespace freedesktop { typedef ::OrgFreedesktopNotificationsInterface Notifications; } } #endif