23 #include "createserverdialogapi.h"
25 #include "gui/createserverdialog.h"
29 DClass<CreateServerDialogApi>
32 QPointer<CreateServerDialog> dialog;
42 CreateServerDialogApi::~CreateServerDialogApi()
64 return d->dialog->commandLineArguments(executable, args);
70 d->dialog->makeRemoteGameSetupDialog(plugin);
76 d->dialog->setIwadByName(iwad);
bool fillInCommandLineArguments(QString &executable, QStringList &args)
When QDialog is closed with 'accepted' state, this method will build appropriate command line...
static CreateServerDialogApi * createNew(QWidget *parent)
Constructs a new CreateServerDialog that is deleted when the API object is deleted.
Plugin proxy for CreateServerDialog.
void makeRemoteGameSetup(const EnginePlugin *plugin)
Configures the dialog box for a setup of a remote game.
Dialog window allowing user to host a game.
QDialog * dialog() const
Accesses underlying CreateServerDialog as a QDialog.
void setIwadByName(const QString &iwad)
Attempt to chose default IWAD by name.