X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Foptionsmodel.h;h=e3d2cae40d559130b302136aefca4d64dbca36c5;hb=1c7ed42093c5935e3958584ed98a2b03466a0023;hp=cfd23cedc98cedf8bfbfebf6f9aeb53bdae5b2e0;hpb=9ca8b78544b413ed875ff9bb6ef376e21922e6ac;p=novacoin.git diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index cfd23ce..e3d2cae 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -19,15 +19,20 @@ 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 @@ -36,9 +41,6 @@ public: 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); @@ -50,6 +52,7 @@ public: int getDisplayUnit(); bool getDisplayAddresses(); bool getCoinControlFeatures(); + QString getThirdPartyTxUrls() { return strThirdPartyTxUrls; } QString getLanguage() { return language; } private: @@ -59,6 +62,7 @@ private: bool fMinimizeOnClose; bool fCoinControlFeatures; QString language; + QString strThirdPartyTxUrls; signals: void displayUnitChanged(int unit);