Wadseeker dialog box, only one instance is allowed. More...
#include <wadseekerinterface.h>
Public Member Functions | |
bool | isAutomatic () |
void | setCustomSite (const QString &site) |
void | setWads (const QList< PWad > &wads) |
Sets WADs to seek. More... | |
Wadseeker & | wadseekerRef () |
Static Public Member Functions | |
static WadseekerInterface * | create (QWidget *parent=nullptr) |
static WadseekerInterface * | create (ServerPtr server, QWidget *parent=nullptr) |
static WadseekerInterface * | createAutoNoGame (QWidget *parent=nullptr) |
static bool | isInstantiated () |
Wadseeker dialog box, only one instance is allowed.
This is not a singleton, but create() methods will return nullptr if instance is already running. There's also isInstantiated() static method available.
Definition at line 44 of file wadseekerinterface.h.
void WadseekerInterface::setWads | ( | const QList< PWad > & | wads | ) |
Sets WADs to seek.
If window is automatic seek will start immediately. Otherwise WADs are inserted into the line edit.
wads | - list of PWads to seek. |
Definition at line 401 of file wadseekerinterface.cpp.