remove traymanagerproxy
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
* @param win Window ID of the embedded tray icon
|
||||
* @param proxy Pointer to the TrayManagerProxy managing this icon
|
||||
*/
|
||||
void registerIcon(xcb_window_t win, TrayManagerProxy *proxy);
|
||||
void registerIcon(xcb_window_t win);
|
||||
|
||||
/**
|
||||
* @brief Unregister a tray icon
|
||||
@@ -59,10 +59,7 @@ public:
|
||||
*/
|
||||
TrayList trayIcons() const;
|
||||
|
||||
/**
|
||||
* @return Pointer to TrayManagerProxy for the given window, or nullptr
|
||||
*/
|
||||
TrayManagerProxy *iconProxy(xcb_window_t win) const;
|
||||
bool haveIcon(xcb_window_t win) const;
|
||||
|
||||
public Q_SLOTS:
|
||||
// DBus methods
|
||||
@@ -79,5 +76,5 @@ Q_SIGNALS:
|
||||
|
||||
private:
|
||||
TrayManager1Adaptor * m_adaptor;
|
||||
QHash<xcb_window_t, TrayManagerProxy *> m_icons;
|
||||
QHash<xcb_window_t, bool> m_icons;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user