aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-04 04:41:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-04 04:41:01 +0200
commit1b392019664239e68d7f529465abe2bdef230989 (patch)
tree8a1d8f9c0059a2fd9bf604e9909a3bad8dd71607 /src/qt/overviewpage.h
parent186f3e2f0c21dc1cef68cb4b36e4bf65e2e7d7de (diff)
when clicking a transaction on the overview page, send the user to the transactions page
Diffstat (limited to 'src/qt/overviewpage.h')
-rw-r--r--src/qt/overviewpage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h
index 2abddf16a6..4b4cc922ca 100644
--- a/src/qt/overviewpage.h
+++ b/src/qt/overviewpage.h
@@ -3,6 +3,10 @@
#include <QWidget>
+QT_BEGIN_NAMESPACE
+class QModelIndex;
+QT_END_NAMESPACE
+
namespace Ui {
class OverviewPage;
}
@@ -23,6 +27,9 @@ public slots:
void setBalance(qint64 balance, qint64 unconfirmedBalance);
void setNumTransactions(int count);
+signals:
+ void transactionClicked(const QModelIndex &index);
+
private:
Ui::OverviewPage *ui;
WalletModel *model;