BALL::VIEW::ServerPreferences Class Reference
[QT Dialogs]

#include <BALL/VIEW/DIALOGS/serverPreferences.h>

Inheritance diagram for BALL::VIEW::ServerPreferences:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Constructors

 ServerPreferences (QWidget *parent=NULL, const char *name="ServerPreferences")
Destructors

virtual ~ServerPreferences ()
Accessors: inspectors and mutators

int getPort ()
bool getServerStatus ()

Private Attributes

QLineEditport_
QCheckBox * server_status_

Detailed Description

Preferences tab for the Server. It will be created by the Server object in the Server::initializePreferencesTab and will be inserted into the Preferences dialog by the MainControl. There are currently two settings: The port on which the data will be received and if the server will accept connections.
This is one of the view dialogs, that is not implemented by an ui-file!

Definition at line 35 of file serverPreferences.h.


Constructor & Destructor Documentation

BALL::VIEW::ServerPreferences::ServerPreferences ( QWidget parent = NULL,
const char *  name = "ServerPreferences" 
)

Default Constructor. The attributs of this serverPreferences are:

  • server port set to VIEW_DEFAULT_PORT
  • server status set to not accept clients
virtual BALL::VIEW::ServerPreferences::~ServerPreferences (  )  [virtual]

Destructor.


Member Function Documentation

int BALL::VIEW::ServerPreferences::getPort (  ) 

Access the port the Server tries to connect to.

Returns:
int the port number of this serverPreferences
bool BALL::VIEW::ServerPreferences::getServerStatus (  ) 

Check the server status. If the server status is set to true than the Server will try to accepts clients. If set to false the Server will not accept clients.

Returns:
bool true the Server will try to accept clients, false the Server will not accept clients.

Member Data Documentation

Definition at line 85 of file serverPreferences.h.

Definition at line 86 of file serverPreferences.h.

Generated by  doxygen 1.6.3