5 #ifndef FABCOIN_QT_OPTIONSMODEL_H 6 #define FABCOIN_QT_OPTIONSMODEL_H 10 #include <QAbstractListModel> 27 explicit OptionsModel(QObject *parent = 0,
bool resetSettings =
false);
57 void Init(
bool resetSettings =
false);
60 int rowCount(
const QModelIndex & parent = QModelIndex())
const;
61 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
62 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
105 #endif // FABCOIN_QT_OPTIONSMODEL_H bool getMinimizeOnClose()
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
void addOverriddenOption(const std::string &option)
void hideTrayIconChanged(bool)
const QString & getOverriddenByCommandLine()
void coinControlFeaturesChanged(bool)
bool getCoinControlFeatures()
int64_t CAmount
Amount in lius (Can be negative)
void setDisplayUnit(const QVariant &value)
Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal.
OptionsModel(QObject *parent=0, bool resetSettings=false)
int rowCount(const QModelIndex &parent=QModelIndex()) const
bool getProxySettings(QNetworkProxy &proxy) const
void zeroBalanceAddressTokenChanged(bool)
void Init(bool resetSettings=false)
void displayUnitChanged(int unit)
bool fCoinControlFeatures
void setRestartRequired(bool fRequired)
void reserveBalanceChanged(CAmount)
Interface from Qt to configuration data structure for Fabcoin client.
QString strThirdPartyTxUrls
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
QString strOverriddenByCommandLine
QString getThirdPartyTxUrls()