Changeset View
Changeset View
Standalone View
Standalone View
src/qt/walletview.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | public: | ||||
void setBitcoinGUI(BitcoinGUI *gui); | void setBitcoinGUI(BitcoinGUI *gui); | ||||
/** | /** | ||||
* Set the client model. | * Set the client model. | ||||
* The client model represents the part of the core that communicates with | * The client model represents the part of the core that communicates with | ||||
* the P2P network, and is wallet-agnostic. | * the P2P network, and is wallet-agnostic. | ||||
*/ | */ | ||||
void setClientModel(ClientModel *clientModel); | void setClientModel(ClientModel *clientModel); | ||||
WalletModel *getWalletModel() { return walletModel; } | |||||
/** | /** | ||||
* Set the wallet model. | * Set the wallet model. | ||||
* The wallet model represents a bitcoin wallet, and offers access to the | * The wallet model represents a bitcoin wallet, and offers access to the | ||||
* list of transactions, address book and sending functionality. | * list of transactions, address book and sending functionality. | ||||
*/ | */ | ||||
void setWalletModel(WalletModel *walletModel); | void setWalletModel(WalletModel *walletModel); | ||||
bool handlePaymentRequest(const SendCoinsRecipient &recipient); | bool handlePaymentRequest(const SendCoinsRecipient &recipient); | ||||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
Q_SIGNALS: | Q_SIGNALS: | ||||
/** Signal that we want to show the main window */ | /** Signal that we want to show the main window */ | ||||
void showNormalIfMinimized(); | void showNormalIfMinimized(); | ||||
/** Fired when a message should be reported to the user */ | /** Fired when a message should be reported to the user */ | ||||
void message(const QString &title, const QString &message, | void message(const QString &title, const QString &message, | ||||
unsigned int style); | unsigned int style); | ||||
/** Encryption status of wallet changed */ | /** Encryption status of wallet changed */ | ||||
void encryptionStatusChanged(int status); | void encryptionStatusChanged(); | ||||
/** HD-Enabled status of wallet changed (only possible during startup) */ | /** HD-Enabled status of wallet changed (only possible during startup) */ | ||||
void hdEnabledStatusChanged(int hdEnabled); | void hdEnabledStatusChanged(); | ||||
/** Notify that a new transaction appeared */ | /** Notify that a new transaction appeared */ | ||||
void incomingTransaction(const QString &date, int unit, const Amount amount, | void incomingTransaction(const QString &date, int unit, const Amount amount, | ||||
const QString &type, const QString &address, | const QString &type, const QString &address, | ||||
const QString &label); | const QString &label, const QString &walletName); | ||||
/** Notify that the out of sync warning icon has been pressed */ | /** Notify that the out of sync warning icon has been pressed */ | ||||
void outOfSyncWarningClicked(); | void outOfSyncWarningClicked(); | ||||
}; | }; | ||||
#endif // BITCOIN_QT_WALLETVIEW_H | #endif // BITCOIN_QT_WALLETVIEW_H |