Bitcoin ABC 0.30.7
P2P Digital Currency
Classes | Functions | Variables
optionsmodel.cpp File Reference
#include <qt/optionsmodel.h>
#include <common/args.h>
#include <interfaces/node.h>
#include <mapport.h>
#include <net.h>
#include <netbase.h>
#include <qt/bitcoinunits.h>
#include <qt/guiconstants.h>
#include <qt/guiutil.h>
#include <txdb.h>
#include <util/string.h>
#include <validation.h>
#include <QDebug>
#include <QSettings>
#include <QStringList>
Include dependency graph for optionsmodel.cpp:

Go to the source code of this file.

Classes

struct  ProxySetting
 

Functions

static const QString GetDefaultProxyAddress ()
 
static void CopySettings (QSettings &dst, const QSettings &src)
 Helper function to copy contents from one QSettings to another. More...
 
static void BackupSettings (const fs::path &filename, const QSettings &src)
 Back up a QSettings to an ini-formatted file. More...
 
static ProxySetting GetProxySetting (QSettings &settings, const QString &name)
 
static void SetProxySetting (QSettings &settings, const QString &name, const ProxySetting &ip_port)
 

Variables

const char * DEFAULT_GUI_PROXY_HOST = "127.0.0.1"
 

Function Documentation

◆ BackupSettings()

static void BackupSettings ( const fs::path filename,
const QSettings &  src 
)
static

Back up a QSettings to an ini-formatted file.

Definition at line 226 of file optionsmodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CopySettings()

static void CopySettings ( QSettings &  dst,
const QSettings &  src 
)
static

Helper function to copy contents from one QSettings to another.

By using allKeys this also covers nested settings in a hierarchy.

Definition at line 219 of file optionsmodel.cpp.

Here is the caller graph for this function:

◆ GetDefaultProxyAddress()

static const QString GetDefaultProxyAddress ( )
static

Definition at line 292 of file optionsmodel.cpp.

Here is the caller graph for this function:

◆ GetProxySetting()

static ProxySetting GetProxySetting ( QSettings &  settings,
const QString &  name 
)
static

Definition at line 269 of file optionsmodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetProxySetting()

static void SetProxySetting ( QSettings &  settings,
const QString &  name,
const ProxySetting ip_port 
)
static

Definition at line 287 of file optionsmodel.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_GUI_PROXY_HOST

const char* DEFAULT_GUI_PROXY_HOST = "127.0.0.1"

Definition at line 30 of file optionsmodel.cpp.