X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Foptionsmodel.h;h=e3d2cae40d559130b302136aefca4d64dbca36c5;hb=1c7ed42093c5935e3958584ed98a2b03466a0023;hp=34724ad032b36dc71be6a598b71fc33a3105e9e9;hpb=84a4a7763f386934da90e2bd1e355b70023fa9ca;p=novacoin.git diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 34724ad..e3d2cae 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -19,25 +19,28 @@ public: enum OptionID { StartAtStartup, // bool MinimizeToTray, // bool - MapPortUPnP, // bool MinimizeOnClose, // bool ProxyUse, // bool 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 +51,8 @@ public: bool getMinimizeOnClose(); int getDisplayUnit(); bool getDisplayAddresses(); + bool getCoinControlFeatures(); + QString getThirdPartyTxUrls() { return strThirdPartyTxUrls; } QString getLanguage() { return language; } private: @@ -55,10 +60,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