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... | |
void | setRequireOptionals (bool) |
Treats optional wads are required so Wadseeker prompts. More... | |
Static Public Member Functions | |
static bool | checkWadseekerValidity (QWidget *parent=NULL) |
Generates command line for joining specified server.
Definition at line 42 of file joincommandlinebuilder.h.
void JoinCommandLineBuilder::obtainJoinCommandLine | ( | ) |
Runs asynchronously and emits commandLineBuildFinished() when done.
Definition at line 369 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 475 of file joincommandlinebuilder.cpp.
void JoinCommandLineBuilder::setRequireOptionals | ( | bool | required | ) |
Treats optional wads are required so Wadseeker prompts.
Definition at line 484 of file joincommandlinebuilder.cpp.