Public Slots | |
void | runGame (const ServerPtr &) |
void | showInstallFreedoomDialog () |
void | updateDynamicAppearance () |
Public Member Functions | |
MainWindow (QApplication *application) | |
DockBuddiesList * | buddiesList () |
void | initAutoRefreshTimer () |
bool | isEffectivelyActiveWindow () const |
void | notifyFirstRun () |
void | setDisplayUpdateInstallerError (int errorCode) |
If set then MainWindow will display the reason for updater failure. More... | |
void | setDisplayUpdaterProcessFailure (int errorCode) |
This should be set if program was started with "--update-failed" argument. More... | |
void | setQueryPluginEnabled (const EnginePlugin *pClient, bool bEnabled) |
Sets query for selected MasterClient object to enabled or disabled. More... | |
void | stopAutoRefreshTimer () |
void | updateMasterAddresses () |
Protected Slots | |
void | abortAutoUpdater () |
void | autoRefreshTimer_timeout () |
void | blockRefreshButtons () |
void | checkForUpdatesAuto () |
Auto triggered updates will display install confirmation only if configured to. More... | |
void | checkForUpdatesUserTriggered () |
User triggered updates will always display install confirmation. More... | |
void | confirmUpdateInstallation () |
void | discardUpdates () |
void | findMissingWADs (const ServerPtr &) |
void | finishedQueryingMaster (MasterClient *master) |
void | getServers () |
void | masterManagerMessages (MasterClient *pSender, const QString &title, const QString &content, bool isError) |
void | masterManagerMessagesImportant (MasterClient *pSender, const Message &objMessage) |
void | menuBuddies () |
void | menuCreateServer () |
void | menuHelpAbout () |
void | menuHelpHelp () |
void | menuIRCOptions () |
void | menuLog () |
void | menuManageDemos () |
void | menuOptionsConfigure () |
void | menuRecordDemo () |
void | menuUpdateIP2C () |
void | menuViewIRC () |
void | menuWadSeeker () |
void | onAutoUpdaterDownloadAndInstallConfirmationRequest () |
void | onAutoUpdaterFileProgress (qint64 bytesReceived, qint64 bytesTotal) |
void | onAutoUpdaterFinish () |
void | onAutoUpdaterOverallProgress (int current, int total, const QString &msg) |
void | postInitAppStartup () |
void | quitProgram () |
void | refreshThreadBeginsWork () |
void | refreshThreadEndsWork () |
void | restartAndInstallUpdatesNow () |
void | serverAddedToList (const ServerPtr &) |
void | showServerJoinCommandLine (const ServerPtr &) |
void | showUpdateInstallErrorDialog () |
void | showUpdaterProcessErrorDialog () |
void | togglePluginQueryEnabled (const EnginePlugin *plugin) |
void | toolBarAction (QAction *pAction) |
void | trayIcon_activated (QSystemTrayIcon::ActivationReason reason) |
void | updateRefreshProgress () |
void | updateServerFilter (const ServerListFilterInfo &filterInfo) |
Protected Member Functions | |
void | changeEvent (QEvent *event) override |
void | checkForUpdates (bool bUserTriggered) |
void | closeEvent (QCloseEvent *event) override |
void | connectEntities () |
void | fillQueryMenu (MasterManager *masterManager) |
void | finishConfiguration (DoomseekerConfigurationDialog &, bool) |
bool | hasCustomServers () const |
void | initAutoUpdaterWidgets () |
void | initIP2CUpdater () |
void | initIRCDock () |
void | initLogDock () |
void | initMainDock () |
void | initServerDetailsDock () |
void | initServerFilterDock () |
void | initTrayIcon () |
bool | isAnyMasterEnabled () const |
bool | isAnythingToRefresh () const |
Will check if refresh operation has any sense. More... | |
QProgressBar * | mkStdProgressBarForStatusBar () |
QueryMenuAction * | queryMenuActionForPlugin (const EnginePlugin *plugin) |
void | refreshCustomServers () |
void | refreshServersOnList () |
void | setupIcons () |
void | setupToolBar () |
void | showEvent (QShowEvent *event) override |
ServerListCount | sumServerListCount () const |
void | updateTrayIconTooltip (const ServerListCount &count) |
void | updateTrayIconTooltipAndLogTotalRefresh () |
Static Protected Attributes | |
static const QString | HELP_SITE_URL = "https://doomseeker.drdteam.org/help" |
Friends | |
class | DoomseekerConfigurationDialog |
Definition at line 45 of file mainwindow.h.
|
protectedslot |
Auto triggered updates will display install confirmation only if configured to.
Definition at line 462 of file mainwindow.cpp.
|
protectedslot |
User triggered updates will always display install confirmation.
Definition at line 468 of file mainwindow.cpp.
|
protected |
Connects signals from objects and controls of the main window to their slots.
Definition at line 517 of file mainwindow.cpp.
|
protected |
Fills query menu with engines that have master server.
masterManager | - instantiated MainWindow::masterManager is passed here. Since this method is called from the constructor it's important to pay attention to not call it before masterManager is instantiated. In other words: this argument exists solely to avoid "random" crashes. |
Definition at line 554 of file mainwindow.cpp.
|
protected |
Called by the configuration dialog to sync config changes.
Definition at line 649 of file mainwindow.cpp.
void MainWindow::initAutoRefreshTimer | ( | ) |
This will either enable or disable the auto refresh timer depending on the settings. This method also takes care of every checks. It will make sure the delay between the refreshes is inside gives boundaries (30 - 3600 seconds).
Definition at line 755 of file mainwindow.cpp.
|
protected |
Checks whether the program will use the tray icon and deletes or instantiates a QSystemTrayIcon object.
Definition at line 896 of file mainwindow.cpp.
|
protected |
Will check if refresh operation has any sense.
Definition at line 967 of file mainwindow.cpp.
void MainWindow::setDisplayUpdateInstallerError | ( | int | errorCode | ) |
If set then MainWindow will display the reason for updater failure.
Display is done in a way that allows the full initialization process to complete first before displaying the actual window.
NOTE: This is different than setDisplayUpdaterProcessFailure() and mutually exclusive.
Definition at line 1334 of file mainwindow.cpp.
void MainWindow::setDisplayUpdaterProcessFailure | ( | int | errorCode | ) |
This should be set if program was started with "--update-failed" argument.
Display is done in a way that allows the full initialization process to complete first before displaying the actual window.
NOTE: This is different than setDisplayUpdateInstallerError() and mutually exclusive.
Definition at line 1326 of file mainwindow.cpp.
void MainWindow::setQueryPluginEnabled | ( | const EnginePlugin * | pClient, |
bool | bEnabled | ||
) |
Sets query for selected MasterClient object to enabled or disabled.
Definition at line 1301 of file mainwindow.cpp.
|
protectedslot |
This affects the query menu, servers status widgets, master client and broadcasts.
Definition at line 1500 of file mainwindow.cpp.