Fabcoin Core  0.16.2
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
FabcoinApplication Class Reference

Main Fabcoin application object. More...

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

Public Slots

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

Signals

void requestedInitialize ()
 
void requestedShutdown ()
 
void stopThread ()
 
void splashFinished (QWidget *window)
 

Public Member Functions

 FabcoinApplication (int &argc, char **argv)
 
 ~FabcoinApplication ()
 
void parameterSetup ()
 parameter interaction/setup based on rules More...
 
void createOptionsModel (bool resetSettings)
 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 (FabcoinGUI) More...
 
void restoreWallet ()
 

Private Member Functions

void startThread ()
 

Private Attributes

QThread * coreThread
 
OptionsModeloptionsModel
 
ClientModelclientModel
 
FabcoinGUIwindow
 
QTimer * pollShutdownTimer
 
int returnValue
 
const PlatformStyleplatformStyle
 
std::unique_ptr< QWidget > shutdownWindow
 
QString restorePath
 
QString restoreParam
 

Detailed Description

Main Fabcoin application object.

Definition at line 216 of file fabcoin.cpp.

Constructor & Destructor Documentation

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

Definition at line 346 of file fabcoin.cpp.

Here is the call graph for this function:

FabcoinApplication::~FabcoinApplication ( )

Definition at line 372 of file fabcoin.cpp.

Member Function Documentation

void FabcoinApplication::createOptionsModel ( bool  resetSettings)

Create options model.

Definition at line 401 of file fabcoin.cpp.

Here is the caller graph for this function:

void FabcoinApplication::createSplashScreen ( const NetworkStyle networkStyle)

Create splash screen.

Definition at line 415 of file fabcoin.cpp.

Here is the caller graph for this function:

void FabcoinApplication::createWindow ( const NetworkStyle networkStyle)

Create main window.

Definition at line 406 of file fabcoin.cpp.

Here is the caller graph for this function:

WId FabcoinApplication::getMainWinId ( ) const

Get window identifier of QMainWindow (FabcoinGUI)

Definition at line 563 of file fabcoin.cpp.

Here is the caller graph for this function:

int FabcoinApplication::getReturnValue ( )
inline

Get process return value.

Definition at line 242 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 557 of file fabcoin.cpp.

Here is the caller graph for this function:

void FabcoinApplication::initializeResult ( bool  success)
slot

Definition at line 494 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::parameterSetup ( )

parameter interaction/setup based on rules

Definition at line 446 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::requestedInitialize ( )
signal

Here is the caller graph for this function:

void FabcoinApplication::requestedShutdown ( )
signal

Here is the caller graph for this function:

void FabcoinApplication::requestInitialize ( )

Request core initialization.

Definition at line 452 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::requestShutdown ( )

Request core shutdown.

Definition at line 459 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::restoreWallet ( )

Definition at line 571 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::shutdownResult ( )
slot

Definition at line 552 of file fabcoin.cpp.

Here is the caller graph for this function:

void FabcoinApplication::splashFinished ( QWidget *  window)
signal

Here is the caller graph for this function:

void FabcoinApplication::startThread ( )
private

Definition at line 425 of file fabcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void FabcoinApplication::stopThread ( )
signal

Here is the caller graph for this function:

Member Data Documentation

ClientModel* FabcoinApplication::clientModel
private

Definition at line 264 of file fabcoin.cpp.

QThread* FabcoinApplication::coreThread
private

Definition at line 262 of file fabcoin.cpp.

OptionsModel* FabcoinApplication::optionsModel
private

Definition at line 263 of file fabcoin.cpp.

const PlatformStyle* FabcoinApplication::platformStyle
private

Definition at line 272 of file fabcoin.cpp.

QTimer* FabcoinApplication::pollShutdownTimer
private

Definition at line 266 of file fabcoin.cpp.

QString FabcoinApplication::restoreParam
private

Definition at line 278 of file fabcoin.cpp.

QString FabcoinApplication::restorePath
private

Definition at line 277 of file fabcoin.cpp.

int FabcoinApplication::returnValue
private

Definition at line 271 of file fabcoin.cpp.

std::unique_ptr<QWidget> FabcoinApplication::shutdownWindow
private

Definition at line 273 of file fabcoin.cpp.

FabcoinGUI* FabcoinApplication::window
private

Definition at line 265 of file fabcoin.cpp.


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