00001
00002
00003
00004
00005 #ifndef BALL_VIEW_DIALOGS_SERVERPREFERENCES_H
00006 #define BALL_VIEW_DIALOGS_SERVERPREFERENCES_H
00007
00008 #ifndef BALL_COMMON_GLOBAL_H
00009 # include <BALL/COMMON/global.h>
00010 #endif
00011
00012 #include <QtGui/QWidget>
00013 #include <QtGui/QCheckBox>
00014 #include <QtGui/QLineEdit>
00015
00016 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
00017 # include <BALL/VIEW/KERNEL/preferencesEntry.h>
00018 #endif
00019
00020 namespace BALL
00021 {
00022 class INIFile;
00023
00024 namespace VIEW
00025 {
00035 class BALL_VIEW_EXPORT ServerPreferences
00036 : public QWidget,
00037 public PreferencesEntry
00038 {
00039 Q_OBJECT
00040
00041 public:
00042
00046
00053 ServerPreferences(QWidget *parent = NULL, const char *name = ((String)tr("ServerPreferences")).c_str());
00054
00056
00059
00062 virtual ~ServerPreferences();
00063
00065
00068
00072 int getPort();
00073
00080 bool getServerStatus();
00082
00083 private:
00084
00085 QLineEdit *port_;
00086 QCheckBox *server_status_;
00087 };
00088
00089 }
00090 }
00091
00092 #endif // BALL_VIEW_DIALOGS_SERVERPREFERENCES_H