Bitcoin ABC  0.28.12
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
NetworkStyle Class Reference

#include <networkstyle.h>

Public Member Functions

const QString & getAppName () const
 
const QIcon & getAppIcon () const
 
const QIcon & getTrayAndWindowIcon () const
 
const QString & getTitleAddText () const
 

Static Public Member Functions

static const NetworkStyleinstantiate (const std::string &networkId)
 Get style associated with provided BIP70 network id, or 0 if not known. More...
 

Private Member Functions

 NetworkStyle (const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
 

Private Attributes

QString appName
 
QIcon appIcon
 
QIcon trayAndWindowIcon
 
QString titleAddText
 

Detailed Description

Definition at line 13 of file networkstyle.h.

Constructor & Destructor Documentation

◆ NetworkStyle()

NetworkStyle::NetworkStyle ( const QString &  appName,
const int  iconColorHueShift,
const int  iconColorSaturationReduction,
const char *  titleAddText 
)
private

Definition at line 24 of file networkstyle.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ getAppIcon()

const QIcon& NetworkStyle::getAppIcon ( ) const
inline

Definition at line 21 of file networkstyle.h.

Here is the caller graph for this function:

◆ getAppName()

const QString& NetworkStyle::getAppName ( ) const
inline

Definition at line 20 of file networkstyle.h.

◆ getTitleAddText()

const QString& NetworkStyle::getTitleAddText ( ) const
inline

Definition at line 23 of file networkstyle.h.

Here is the caller graph for this function:

◆ getTrayAndWindowIcon()

const QIcon& NetworkStyle::getTrayAndWindowIcon ( ) const
inline

Definition at line 22 of file networkstyle.h.

Here is the caller graph for this function:

◆ instantiate()

const NetworkStyle * NetworkStyle::instantiate ( const std::string &  networkId)
static

Get style associated with provided BIP70 network id, or 0 if not known.

Definition at line 75 of file networkstyle.cpp.

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

Member Data Documentation

◆ appIcon

QIcon NetworkStyle::appIcon
private

Definition at line 31 of file networkstyle.h.

◆ appName

QString NetworkStyle::appName
private

Definition at line 30 of file networkstyle.h.

◆ titleAddText

QString NetworkStyle::titleAddText
private

Definition at line 33 of file networkstyle.h.

◆ trayAndWindowIcon

QIcon NetworkStyle::trayAndWindowIcon
private

Definition at line 32 of file networkstyle.h.


The documentation for this class was generated from the following files: