qt: remove awkward way of setting GUI pages

Selecting the button for a pages was going through bitcoingui->walletframe->walletview->bitcoingui.
Because of this, the actions for the pages had to be exposed on the BitcoinGUI object.
This commit is contained in:
Wladimir J. van der Laan
2013-10-18 18:43:07 +02:00
parent 26702e6930
commit 163145938c
6 changed files with 28 additions and 26 deletions

View File

@@ -61,14 +61,6 @@ public:
void removeAllWallets();
/** Used by WalletView to allow access to needed QActions */
// Todo: Use Qt signals for these
QAction * getOverviewAction() { return overviewAction; }
QAction * getHistoryAction() { return historyAction; }
QAction * getAddressBookAction() { return addressBookAction; }
QAction * getReceiveCoinsAction() { return receiveCoinsAction; }
QAction * getSendCoinsAction() { return sendCoinsAction; }
protected:
void changeEvent(QEvent *e);
void closeEvent(QCloseEvent *event);