aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/overviewpage.h')
-rw-r--r--src/qt/overviewpage.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h
index 00048cc8f8..bb32a0c33f 100644
--- a/src/qt/overviewpage.h
+++ b/src/qt/overviewpage.h
@@ -10,6 +10,7 @@ QT_END_NAMESPACE
namespace Ui {
class OverviewPage;
}
+class ClientModel;
class WalletModel;
class TxViewDelegate;
class TransactionFilterProxy;
@@ -23,7 +24,8 @@ public:
explicit OverviewPage(QWidget *parent = 0);
~OverviewPage();
- void setModel(WalletModel *model);
+ void setClientModel(ClientModel *clientModel);
+ void setWalletModel(WalletModel *walletModel);
void showOutOfSyncWarning(bool fShow);
public slots:
@@ -35,7 +37,8 @@ signals:
private:
Ui::OverviewPage *ui;
- WalletModel *model;
+ ClientModel *clientModel;
+ WalletModel *walletModel;
qint64 currentBalance;
qint64 currentUnconfirmedBalance;
qint64 currentImmatureBalance;
@@ -46,6 +49,7 @@ private:
private slots:
void updateDisplayUnit();
void handleTransactionClicked(const QModelIndex &index);
+ void updateAlerts(const QString &warnings);
};
#endif // OVERVIEWPAGE_H