|
qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <nexus.h>


Public Slots | |
| void | onCreateNewProfile (const QString &name, const QString &pass) |
| Creates a new profile and replaces the current one. More... | |
| void | onLoadProfile (const QString &name, const QString &pass) |
| int | showLogin (const QString &profileName=QString()) |
| Hides the main GUI, delete the profile, and shows the login screen. More... | |
| void | bootstrapWithProfile (Profile *p) |
Signals | |
| void | currentProfileChanged (Profile *Profile) |
| void | profileLoaded () |
| void | profileLoadFailed () |
| void | saveGlobal () |
Public Member Functions | |
| void | start () |
| Sets up invariants and calls showLogin. More... | |
| void | showMainGUI () |
| void | setSettings (Settings *settings) |
| void | setParser (QCommandLineParser *parser) |
Static Public Member Functions | |
| static Nexus & | getInstance () |
| Returns the singleton instance. More... | |
| static void | destroyInstance () |
| static Core * | getCore () |
| Get core instance. More... | |
| static Profile * | getProfile () |
| Get current user profile. More... | |
| static Widget * | getDesktopGUI () |
| Get desktop GUI widget. More... | |
Private Member Functions | |
| Nexus (QObject *parent=nullptr) | |
| void | connectLoginScreen (const LoginScreen &loginScreen) |
| void | setProfile (Profile *p) |
| ~Nexus () | |
Private Attributes | |
| Profile * | profile |
| Settings * | settings |
| Widget * | widget |
| std::unique_ptr< IAudioControl > | audioControl |
| QCommandLineParser * | parser = nullptr |
This class is in charge of connecting various systems together and forwarding signals appropriately to the right objects, it is in charge of starting the GUI and the Core.
|
slot |
|
private |
|
signal |

|
static |
|
static |
|
static |
|
static |
|
static |
|
slot |
|
slot |
|
signal |

|
signal |

|
signal |

|
private |
| void Nexus::setSettings | ( | Settings * | settings | ) |
|
slot |
| void Nexus::showMainGUI | ( | ) |
| void Nexus::start | ( | ) |
1.8.17