Q_PROPERTY(DBusImageVector AttentionIconPixmap READ AttentionIconPixmap)
Q_PROPERTY(QString AttentionMovieName READ AttentionMovieName)
Q_PROPERTY(DBusToolTipStruct ToolTip READ ToolTip)
+ Q_PROPERTY(QString IconThemePath READ IconThemePath)
+ Q_PROPERTY(QDBusObjectPath Menu READ Menu)
friend class StatusNotifierItem;
public:
StatusNotifierItemDBus(StatusNotifierItem *parent);
~StatusNotifierItemDBus();
+ /**
+ * @return the dbus connection used by this object
+ */
+ QDBusConnection dbusConnection() const;
+
+ /**
+ * Register the service to DBus
+ */
+ void registerService();
+
+ /**
+ * Unregister the service from DBus
+ */
+ void unregisterService();
+
/**
* @return the service this object is registered on the bus under
*/
*/
DBusToolTipStruct ToolTip() const;
+ /**
+ * @return path to extra icon theme, to load application specific icons
+ */
+ QString IconThemePath() const;
+
+ /**
+ * @return object path to the dbusmenu object
+ */
+ QDBusObjectPath Menu() const;
public Q_SLOTS:
//interaction