PRCYCoin
2.0.0.7rc1
P2P Digital Currency
src
qt
networkstyle.h
Go to the documentation of this file.
1
// Copyright (c) 2014 The Bitcoin developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_QT_NETWORKSTYLE_H
6
#define BITCOIN_QT_NETWORKSTYLE_H
7
8
#include <QIcon>
9
#include <QPixmap>
10
#include <QString>
11
12
/* Coin network-specific GUI style information */
13
class
NetworkStyle
14
{
15
public
:
17
static
const
NetworkStyle
*
instantiate
(
const
QString&
networkId
);
18
19
const
QString&
getAppName
()
const
{
return
appName
; }
20
const
QIcon&
getAppIcon
()
const
{
return
appIcon
; }
21
const
QString&
getTitleAddText
()
const
{
return
titleAddText
; }
22
const
QPixmap&
getSplashImage
()
const
{
return
splashImage
; }
23
24
private
:
25
NetworkStyle
(
const
QString&
appName
,
const
QString&
appIcon
,
const
char
*
titleAddText
,
const
QString&
splashImage
);
26
27
QString
appName
;
28
QIcon
appIcon
;
29
QString
titleAddText
;
30
QPixmap
splashImage
;
31
};
32
33
#endif // BITCOIN_QT_NETWORKSTYLE_H
NetworkStyle::getSplashImage
const QPixmap & getSplashImage() const
Definition:
networkstyle.h:22
NetworkStyle::splashImage
QPixmap splashImage
Definition:
networkstyle.h:30
NetworkStyle
Definition:
networkstyle.h:13
NetworkStyle::getAppName
const QString & getAppName() const
Definition:
networkstyle.h:19
NetworkStyle::titleAddText
QString titleAddText
Definition:
networkstyle.h:29
NetworkStyle::appIcon
QIcon appIcon
Definition:
networkstyle.h:28
networkId
const char * networkId
Definition:
networkstyle.cpp:12
NetworkStyle::getTitleAddText
const QString & getTitleAddText() const
Definition:
networkstyle.h:21
NetworkStyle::appName
QString appName
Definition:
networkstyle.h:27
NetworkStyle::instantiate
static const NetworkStyle * instantiate(const QString &networkId)
Get style associated with provided network id, or 0 if not known.
Definition:
networkstyle.cpp:31
NetworkStyle::NetworkStyle
NetworkStyle(const QString &appName, const QString &appIcon, const char *titleAddText, const QString &splashImage)
Definition:
networkstyle.cpp:24
NetworkStyle::getAppIcon
const QIcon & getAppIcon() const
Definition:
networkstyle.h:20
Generated on Tue Apr 28 2026 00:02:54 for PRCYCoin by
1.8.17