class QDateTime;
QT_END_NAMESPACE
-// Interface to Bitcoin network client
+// Model for Bitcoin network client
class ClientModel : public QObject
{
Q_OBJECT
public:
- // The only reason that this constructor takes a wallet is because
- // the global client settings are stored in the main wallet.
- explicit ClientModel(CWallet *wallet, QObject *parent = 0);
+ explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);
OptionsModel *getOptionsModel();
QString formatFullVersion() const;
private:
- CWallet *wallet;
-
OptionsModel *optionsModel;
int cachedNumConnections;