Bitcoin Core  0.15.99
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 QString &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 ( const QString &  appName,
const int  iconColorHueShift,
const int  iconColorSaturationReduction,
const char *  titleAddText 
)
private

Definition at line 25 of file networkstyle.cpp.

Here is the caller graph for this function:

Member Function Documentation

const QIcon& NetworkStyle::getAppIcon ( ) const
inline

Definition at line 20 of file networkstyle.h.

Here is the caller graph for this function:

const QString& NetworkStyle::getAppName ( ) const
inline

Definition at line 19 of file networkstyle.h.

const QString& NetworkStyle::getTitleAddText ( ) const
inline

Definition at line 22 of file networkstyle.h.

Here is the call graph for this function:

Here is the caller graph for this function:

const QIcon& NetworkStyle::getTrayAndWindowIcon ( ) const
inline

Definition at line 21 of file networkstyle.h.

Here is the caller graph for this function:

const NetworkStyle * NetworkStyle::instantiate ( const QString &  networkId)
static

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

Definition at line 82 of file networkstyle.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QIcon NetworkStyle::appIcon
private

Definition at line 28 of file networkstyle.h.

QString NetworkStyle::appName
private

Definition at line 27 of file networkstyle.h.

QString NetworkStyle::titleAddText
private

Definition at line 30 of file networkstyle.h.

QIcon NetworkStyle::trayAndWindowIcon
private

Definition at line 29 of file networkstyle.h.


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