ConnectionHandler Class Reference

List of all members.

Signals

void finished (int response)

Public Member Functions

 ConnectionHandler (Server *server, QWidget *parent=NULL, bool handleResponse=false)
void run ()

Static Public Member Functions

static bool checkWadseekerValidity (QWidget *parent=NULL)
static ConnectionHandlerconnectByUrl (const QUrl &url)
static bool obtainJoinCommandLine (QWidget *parent, const Server *server, CommandLineInfo &cli, const QString &errorCaption, bool managedDemo, bool *hadMissing=NULL)

Protected Slots

void checkResponse (Server *server, int response)

Protected Member Functions

void finish (int response)
void refreshToJoin ()

Member Function Documentation

bool ConnectionHandler::obtainJoinCommandLine ( QWidget *  parent,
const Server server,
CommandLineInfo cli,
const QString &  errorCaption,
bool  managedDemo,
bool *  hadMissing = NULL 
) [static]

Generates command line info for specified server.

Parameters:
server - command line will be generated for this server
[out] cli - generated command line
errorCaption - caption used for QMessageBox in case of an error
hadMissing - If set to a non-NULL value the pointer will be set to true if Wadseeker downloaded files.
Returns:
true on success, false otherwise.

The documentation for this class was generated from the following files: