replace some ugly code in addressbookpage.cpp

- add signals signMessage() and verifyMessage() in addressbookpage.cpp
- connect to them in bitcoingui.cpp to switch to the corresponding tab in the Sign/Verify Message dialog
- make gotoSignMessageTab() and gotoVerifyMessageTab() private slots
This commit is contained in:
Philip Kaufmann
2012-07-08 18:48:56 +02:00
parent ea53f183fc
commit ddadf791f1
4 changed files with 16 additions and 11 deletions

View File

@@ -76,6 +76,10 @@ private slots:
/** New entry/entries were added to address table */
void selectNewAddress(const QModelIndex &parent, int begin, int end);
signals:
void signMessage(QString addr);
void verifyMessage(QString addr);
};
#endif // ADDRESSBOOKDIALOG_H