BALL  1.5.0
serverPreferences.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_VIEW_DIALOGS_SERVERPREFERENCES_H
6 #define BALL_VIEW_DIALOGS_SERVERPREFERENCES_H
7 
8 #ifndef BALL_COMMON_GLOBAL_H
9 # include <BALL/COMMON/global.h>
10 #endif
11 
12 #include <QtWidgets/QWidget>
13 #include <QtWidgets/QCheckBox>
14 #include <QtWidgets/QLineEdit>
15 
16 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
18 #endif
19 
20 namespace BALL
21 {
22  class INIFile;
23 
24  namespace VIEW
25  {
38  : public QWidget,
39  public PreferencesEntry
40  {
41  Q_OBJECT
42 
43  public:
44 
48 
55  ServerPreferences(QWidget *parent = NULL, const char *name = ((String)tr("ServerPreferences")).c_str());
56 
58 
61 
64  virtual ~ServerPreferences();
65 
67 
70 
74  int getPort();
75 
84 
85  private:
86 
87  QLineEdit *port_;
88  QCheckBox *server_status_;
89  };
90 
91  } // namespace VIEW
92 } // namespace BALL
93 
94 #endif // BALL_VIEW_DIALOGS_SERVERPREFERENCES_H
Definition: constants.h:13
ServerPreferences(QWidget *parent=NULL, const char *name=((String) tr("ServerPreferences")).c_str())
#define BALL_DEPRECATED
Definition: COMMON/global.h:64
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52