X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Foptionsmodel.h;h=3a27427ad57c61766f19339ac75a2430f59e9810;hb=52c85881648d3381c29da10925c06cbd083cc570;hp=34724ad032b36dc71be6a598b71fc33a3105e9e9;hpb=84a4a7763f386934da90e2bd1e355b70023fa9ca;p=novacoin.git diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 34724ad..3a27427 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -25,19 +25,23 @@ public: ProxyIP, // QString ProxyPort, // int ProxySocksVersion, // int + TorUse, // bool + TorIP, // QString + TorPort, // int + TorOnly, // bool + TorName, // QString Fee, // qint64 DisplayUnit, // BitcoinUnits::Unit DisplayAddresses, // bool + ThirdPartyTxUrls, // QString DetachDatabases, // bool Language, // QString + CoinControlFeatures, // bool OptionIDRowCount, }; void Init(); - /* Migrate settings from wallet.dat after app initialization */ - bool Upgrade(); /* returns true if settings upgraded */ - int rowCount(const QModelIndex & parent = QModelIndex()) const; QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const; bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole); @@ -48,6 +52,8 @@ public: bool getMinimizeOnClose(); int getDisplayUnit(); bool getDisplayAddresses(); + bool getCoinControlFeatures(); + QString getThirdPartyTxUrls() { return strThirdPartyTxUrls; } QString getLanguage() { return language; } private: @@ -55,10 +61,14 @@ private: bool bDisplayAddresses; bool fMinimizeToTray; bool fMinimizeOnClose; + bool fCoinControlFeatures; QString language; + QString strThirdPartyTxUrls; signals: void displayUnitChanged(int unit); + void transactionFeeChanged(qint64); + void coinControlFeaturesChanged(bool); }; #endif // OPTIONSMODEL_H