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> | ||||
namespace interfaces { | namespace interfaces { | ||||
class Node; | class Node; | ||||
} | } | ||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | public: | ||||
const QString &getOverriddenByCommandLine() { | const QString &getOverriddenByCommandLine() { | ||||
return strOverriddenByCommandLine; | return strOverriddenByCommandLine; | ||||
} | } | ||||
/* Restart flag helper */ | /* Restart flag helper */ | ||||
void setRestartRequired(bool fRequired); | void setRestartRequired(bool fRequired); | ||||
bool isRestartRequired() const; | bool isRestartRequired() const; | ||||
interfaces::Node &node() const { return m_node; } | |||||
private: | private: | ||||
interfaces::Node &m_node; | interfaces::Node &m_node; | ||||
/* Qt-only settings */ | /* Qt-only settings */ | ||||
bool fHideTrayIcon; | bool fHideTrayIcon; | ||||
bool fMinimizeToTray; | bool fMinimizeToTray; | ||||
bool fMinimizeOnClose; | bool fMinimizeOnClose; | ||||
QString language; | QString language; | ||||
int nDisplayUnit; | int nDisplayUnit; | ||||
Show All 18 Lines |