Generates command line for joining specified server. More...
#include <joincommandlinebuilder.h>
Signals | |
void | commandLineBuildFinished () |
Public Member Functions | |
JoinCommandLineBuilder (ServerPtr server, GameDemo demo, QWidget *parentWidget) | |
const CommandLineInfo & | builtCommandLine () const |
const QString & | error () const |
bool | isConfigurationError () const |
void | obtainJoinCommandLine () |
Runs asynchronously and emits commandLineBuildFinished() when done. More... | |
ServerPtr | server () const |
void | setPasswords (const QString &connectPassword=QString(), const QString &inGamePassword=QString()) |
Sets the connect/ingame password and bypasses the prompt. Set passwords to a null string to unset. More... | |
Static Public Member Functions | |
static bool | checkWadseekerValidity (QWidget *parent=nullptr) |
Generates command line for joining specified server.
Definition at line 43 of file joincommandlinebuilder.h.
void JoinCommandLineBuilder::obtainJoinCommandLine | ( | ) |
Runs asynchronously and emits commandLineBuildFinished() when done.
Definition at line 222 of file joincommandlinebuilder.cpp.
void JoinCommandLineBuilder::setPasswords | ( | const QString & | connectPassword = QString() , |
const QString & | inGamePassword = QString() |
||
) |
Sets the connect/ingame password and bypasses the prompt. Set passwords to a null string to unset.
Definition at line 325 of file joincommandlinebuilder.cpp.