[UI] TrayIcon + TrayIconMenu for OSX (review changes)

This commit is contained in:
crowning- 2016-11-16 22:04:26 +01:00 committed by GitHub
parent 544d220819
commit 12691e15d4

View File

@ -126,6 +126,7 @@ private:
QSystemTrayIcon *trayIcon; QSystemTrayIcon *trayIcon;
QMenu *trayIconMenu; QMenu *trayIconMenu;
QMenu *dockIconMenu;
Notificator *notificator; Notificator *notificator;
RPCConsole *rpcConsole; RPCConsole *rpcConsole;
HelpMessageDialog *helpMessageDialog; HelpMessageDialog *helpMessageDialog;
@ -145,7 +146,7 @@ private:
/** Create system tray icon and notification */ /** Create system tray icon and notification */
void createTrayIcon(const NetworkStyle *networkStyle); void createTrayIcon(const NetworkStyle *networkStyle);
/** Create system tray menu (or setup the dock menu) */ /** Create system tray menu (or setup the dock menu) */
void createTrayIconMenu(); void createIconMenu(QMenu *pmenu);
/** Enable or disable all wallet-related actions */ /** Enable or disable all wallet-related actions */
void setWalletActionsEnabled(bool enabled); void setWalletActionsEnabled(bool enabled);