11 #if defined(HAVE_CONFIG_H)
15 #include <QAbstractListModel>
59 I2PInboundLengthVariance,
60 I2PInboundBackupQuantity,
61 I2PInboundAllowZeroHop,
62 I2PInboundIPRestriction,
66 I2POutboundLengthVariance,
67 I2POutboundBackupQuantity,
68 I2POutboundAllowZeroHop,
69 I2POutboundIPRestriction,
71 #endif // ENABLE_I2PSAM
78 int rowCount(
const QModelIndex & parent = QModelIndex())
const;
79 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
80 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
115 QString I2PSessionName;
116 int i2pInboundQuantity;
117 int i2pInboundLength;
118 int i2pInboundLengthVariance;
119 int i2pInboundBackupQuantity;
120 bool i2pInboundAllowZeroHop;
121 int i2pInboundIPRestriction;
122 int i2pOutboundQuantity;
123 int i2pOutboundLength;
124 int i2pOutboundLengthVariance;
125 int i2pOutboundBackupQuantity;
126 bool i2pOutboundAllowZeroHop;
127 int i2pOutboundIPRestriction;
128 int i2pOutboundPriority;
129 #endif // ENABLE_I2PSAM
137 #endif // OPTIONSMODEL_H
bool getMinimizeOnClose()
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
void addOverriddenOption(const std::string &option)
Add option to list of GUI options overridden through command line/config file.
void transactionFeeChanged(qint64)
const QString & getOverriddenByCommandLine()
void coinControlFeaturesChanged(bool)
OptionsModel(QObject *parent=0)
bool getCoinControlFeatures()
void setDisplayUnit(const QVariant &value)
Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal.
int rowCount(const QModelIndex &parent=QModelIndex()) const
bool getProxySettings(QNetworkProxy &proxy) const
void displayUnitChanged(int unit)
bool fCoinControlFeatures
void setRestartRequired(bool fRequired)
Interface from Qt to configuration data structure for Anoncoin client.
QString strThirdPartyTxUrls
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
QString strOverriddenByCommandLine
QString getThirdPartyTxUrls()