aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-11 20:42:10 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-11 20:42:10 +0200
commitdf5ccbd2b2c72039f1e0e69fc51957f7c2d6068d (patch)
tree9aaf5b94f95172365a44be8b78eae7b2ba382a27 /src/qt/overviewpage.h
parenteee0d2391cb9d2c72d75c9912363392f87c7b976 (diff)
Show unconfirmed balance on overview page
Diffstat (limited to 'src/qt/overviewpage.h')
-rw-r--r--src/qt/overviewpage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h
index fbd6853b37..acf83c720f 100644
--- a/src/qt/overviewpage.h
+++ b/src/qt/overviewpage.h
@@ -6,6 +6,7 @@
namespace Ui {
class OverviewPage;
}
+class WalletModel;
class OverviewPage : public QWidget
{
@@ -15,12 +16,15 @@ public:
explicit OverviewPage(QWidget *parent = 0);
~OverviewPage();
+ void setModel(WalletModel *model);
+
public slots:
- void setBalance(qint64 balance);
+ void setBalance(qint64 balance, qint64 unconfirmedBalance);
void setNumTransactions(int count);
private:
Ui::OverviewPage *ui;
+ WalletModel *model;
};