![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Main Bitcoin application object. More...
Inheritance diagram for BitcoinApplication:
Collaboration diagram for BitcoinApplication: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 | requestedShutdown () |
| void | stopThread () |
| void | splashFinished (QWidget *window) |
Public Member Functions | |
| BitcoinApplication (int &argc, char **argv) | |
| ~BitcoinApplication () | |
| void | createOptionsModel () |
| Create options model. More... | |
| void | createWindow (bool isaTestNet) |
| Create main window. More... | |
| void | createSplashScreen (bool isaTestNet) |
| 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 |
| OptionsModel * | optionsModel |
| ClientModel * | clientModel |
| BitcoinGUI * | window |
| QTimer * | pollShutdownTimer |
| int | returnValue |
Main Bitcoin application object.
Definition at line 167 of file bitcoin.cpp.
|
explicit |
Definition at line 274 of file bitcoin.cpp.
References startThread().
Here is the call graph for this function:| BitcoinApplication::~BitcoinApplication | ( | ) |
Definition at line 291 of file bitcoin.cpp.
References coreThread, LogPrintf, optionsModel, stopThread(), and window.
| void BitcoinApplication::createOptionsModel | ( | ) |
Create options model.
Definition at line 315 of file bitcoin.cpp.
References optionsModel.
Referenced by main().
Here is the caller graph for this function:| void BitcoinApplication::createSplashScreen | ( | bool | isaTestNet | ) |
Create splash screen.
Definition at line 329 of file bitcoin.cpp.
References splashFinished().
Referenced by main().
Here is the caller graph for this function:| void BitcoinApplication::createWindow | ( | bool | isaTestNet | ) |
Create main window.
Definition at line 320 of file bitcoin.cpp.
References pollShutdownTimer, and window.
Referenced by main().
Here is the caller graph for this function:| WId BitcoinApplication::getMainWinId | ( | ) | const |
Get window identifier of QMainWindow (BitcoinGUI)
Definition at line 451 of file bitcoin.cpp.
References window.
Referenced by main().
Here is the caller graph for this function:
|
inline |
Get process return value.
Definition at line 191 of file bitcoin.cpp.
References returnValue.
Referenced by main().
Here is the caller graph for this function:
|
slot |
Handle runaway exceptions. Shows a message box with the problem and quits the program.
Definition at line 445 of file bitcoin.cpp.
Referenced by main(), and startThread().
Here is the caller graph for this function:
|
slot |
Definition at line 384 of file bitcoin.cpp.
References clientModel, GetBoolArg(), PaymentServer::LoadRootCAs(), LogPrintf, optionsModel, pwalletMain, returnValue, BitcoinGUI::setClientModel(), splashFinished(), and window.
Referenced by startThread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
|
signal |
| void BitcoinApplication::requestInitialize | ( | ) |
Request core initialization.
Definition at line 356 of file bitcoin.cpp.
References LogPrintf, and requestedInitialize().
Referenced by main().
Here is the caller graph for this function:| void BitcoinApplication::requestShutdown | ( | ) |
Request core shutdown.
Definition at line 362 of file bitcoin.cpp.
References clientModel, LogPrintf, pollShutdownTimer, requestedShutdown(), BitcoinGUI::setClientModel(), ShutdownWindow::showShutdownWindow(), and window.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 439 of file bitcoin.cpp.
References LogPrintf.
Referenced by startThread().
Here is the caller graph for this function:
|
signal |
Referenced by createSplashScreen(), and initializeResult().
Here is the caller graph for this function:
|
private |
Definition at line 337 of file bitcoin.cpp.
References coreThread, handleRunawayException(), initializeResult(), requestedInitialize(), requestedShutdown(), shutdownResult(), and stopThread().
Referenced by BitcoinApplication().
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
|
private |
Definition at line 211 of file bitcoin.cpp.
Referenced by initializeResult(), and requestShutdown().
|
private |
Definition at line 209 of file bitcoin.cpp.
Referenced by startThread(), and ~BitcoinApplication().
|
private |
Definition at line 210 of file bitcoin.cpp.
Referenced by createOptionsModel(), initializeResult(), and ~BitcoinApplication().
|
private |
Definition at line 213 of file bitcoin.cpp.
Referenced by createWindow(), and requestShutdown().
|
private |
Definition at line 218 of file bitcoin.cpp.
Referenced by getReturnValue(), and initializeResult().
|
private |
Definition at line 212 of file bitcoin.cpp.
Referenced by createWindow(), getMainWinId(), initializeResult(), requestShutdown(), and ~BitcoinApplication().
1.8.8