Changeset View
Changeset View
Standalone View
Standalone View
src/qt/optionsmodel.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_OPTIONSMODEL_H | #ifndef BITCOIN_QT_OPTIONSMODEL_H | ||||
#define BITCOIN_QT_OPTIONSMODEL_H | #define BITCOIN_QT_OPTIONSMODEL_H | ||||
#include "amount.h" | #include "amount.h" | ||||
#include <QAbstractListModel> | #include <QAbstractListModel> | ||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QNetworkProxy; | class QNetworkProxy; | ||||
QT_END_NAMESPACE | QT_END_NAMESPACE | ||||
extern const char *DEFAULT_GUI_PROXY_HOST; | |||||
static constexpr unsigned short DEFAULT_GUI_PROXY_PORT = 9050; | |||||
/** Interface from Qt to configuration data structure for Bitcoin client. | /** Interface from Qt to configuration data structure for Bitcoin client. | ||||
To Qt, the options are presented as a list with the different options | To Qt, the options are presented as a list with the different options | ||||
laid out vertically. | laid out vertically. | ||||
This can be changed to a tree once the settings become sufficiently | This can be changed to a tree once the settings become sufficiently | ||||
complex. | complex. | ||||
*/ | */ | ||||
class OptionsModel : public QAbstractListModel { | class OptionsModel : public QAbstractListModel { | ||||
Q_OBJECT | Q_OBJECT | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |