PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitcoinApplication Class Reference

Main PRCY application object. More...

Inheritance diagram for BitcoinApplication:
[legend]
Collaboration diagram for BitcoinApplication:
[legend]

Public Slots

void initializeResult (int retval)
 
void shutdownResult (int retval)
 
void handleRunawayException (const QString &message)
 Handle runaway exceptions. Shows a message box with the problem and quits the program. More...
 

Signals

void requestedInitialize ()
 
void requestedRestart (QStringList args)
 
void requestedShutdown ()
 
void stopThread ()
 
void splashFinished (QWidget *window)
 

Public Member Functions

 BitcoinApplication (int &argc, char **argv)
 
 ~BitcoinApplication ()
 
void parameterSetup ()
 parameter interaction/setup based on rules More...
 
void createOptionsModel ()
 Create options model. More...
 
void createWindow (const NetworkStyle *networkStyle)
 Create main window. More...
 
void createSplashScreen (const NetworkStyle *networkStyle)
 Create splash screen. More...
 
void requestInitialize ()
 Request core initialization. More...
 
void requestShutdown ()
 Request core shutdown. More...
 
int getReturnValue ()
 Get process return value. More...
 
WId getMainWinId () const
 Get window identifier of QMainWindow (BitcoinGUI) More...
 

Private Member Functions

void startThread ()
 

Private Attributes

QThread * coreThread
 
OptionsModeloptionsModel
 
ClientModelclientModel
 
BitcoinGUIwindow
 
QTimer * pollShutdownTimer
 
int returnValue
 

Detailed Description

Main PRCY application object.

Definition at line 198 of file prcycoin.cpp.

Constructor & Destructor Documentation

◆ BitcoinApplication()

BitcoinApplication::BitcoinApplication ( int &  argc,
char **  argv 
)
explicit

Definition at line 321 of file prcycoin.cpp.

◆ ~BitcoinApplication()

BitcoinApplication::~BitcoinApplication ( )

Definition at line 336 of file prcycoin.cpp.

Member Function Documentation

◆ createOptionsModel()

void BitcoinApplication::createOptionsModel ( )

Create options model.

Definition at line 368 of file prcycoin.cpp.

◆ createSplashScreen()

void BitcoinApplication::createSplashScreen ( const NetworkStyle networkStyle)

Create splash screen.

Definition at line 381 of file prcycoin.cpp.

◆ createWindow()

void BitcoinApplication::createWindow ( const NetworkStyle networkStyle)

Create main window.

Definition at line 373 of file prcycoin.cpp.

◆ getMainWinId()

WId BitcoinApplication::getMainWinId ( ) const

Get window identifier of QMainWindow (BitcoinGUI)

Definition at line 542 of file prcycoin.cpp.

◆ getReturnValue()

int BitcoinApplication::getReturnValue ( )
inline

Get process return value.

Definition at line 224 of file prcycoin.cpp.

◆ handleRunawayException

void BitcoinApplication::handleRunawayException ( const QString &  message)
slot

Handle runaway exceptions. Shows a message box with the problem and quits the program.

Definition at line 536 of file prcycoin.cpp.

Here is the caller graph for this function:

◆ initializeResult

void BitcoinApplication::initializeResult ( int  retval)
slot

Definition at line 453 of file prcycoin.cpp.

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

◆ parameterSetup()

void BitcoinApplication::parameterSetup ( )

parameter interaction/setup based on rules

Definition at line 413 of file prcycoin.cpp.

Here is the call graph for this function:

◆ requestedInitialize

void BitcoinApplication::requestedInitialize ( )
signal
Here is the caller graph for this function:

◆ requestedRestart

void BitcoinApplication::requestedRestart ( QStringList  args)
signal
Here is the caller graph for this function:

◆ requestedShutdown

void BitcoinApplication::requestedShutdown ( )
signal
Here is the caller graph for this function:

◆ requestInitialize()

void BitcoinApplication::requestInitialize ( )

Request core initialization.

Definition at line 423 of file prcycoin.cpp.

Here is the call graph for this function:

◆ requestShutdown()

void BitcoinApplication::requestShutdown ( )

Request core shutdown.

Definition at line 430 of file prcycoin.cpp.

Here is the call graph for this function:

◆ shutdownResult

void BitcoinApplication::shutdownResult ( int  retval)
slot

Definition at line 530 of file prcycoin.cpp.

Here is the caller graph for this function:

◆ splashFinished

void BitcoinApplication::splashFinished ( QWidget *  window)
signal
Here is the caller graph for this function:

◆ startThread()

void BitcoinApplication::startThread ( )
private

Definition at line 391 of file prcycoin.cpp.

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

◆ stopThread

void BitcoinApplication::stopThread ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ clientModel

ClientModel* BitcoinApplication::clientModel
private

Definition at line 245 of file prcycoin.cpp.

◆ coreThread

QThread* BitcoinApplication::coreThread
private

Definition at line 243 of file prcycoin.cpp.

◆ optionsModel

OptionsModel* BitcoinApplication::optionsModel
private

Definition at line 244 of file prcycoin.cpp.

◆ pollShutdownTimer

QTimer* BitcoinApplication::pollShutdownTimer
private

Definition at line 247 of file prcycoin.cpp.

◆ returnValue

int BitcoinApplication::returnValue
private

Definition at line 252 of file prcycoin.cpp.

◆ window

BitcoinGUI* BitcoinApplication::window
private

Definition at line 246 of file prcycoin.cpp.


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