5 #ifndef BALL_VIEW_KERNEL_SERVERWIDGET_H
6 #define BALL_VIEW_KERNEL_SERVERWIDGET_H
12 #ifndef BALL_DATATYPE_HASHMAP_H
16 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
20 #ifndef BALL_CONCEPT_OBJECTCREATOR_H
24 #ifndef BALL_SYSTEM_NETWORKING_H
28 #ifndef BALL_VIEW_KERNEL_THREADS_H
32 #include <QtCore/QTimer>
33 #include <QtGui/QLabel>
43 class ServerPreferences;
115 virtual void handleConnection();
118 void setLocked(
bool is_locked);
160 virtual void clear();
178 void setPort(
const int port);
198 void unregisterObjectCreator();
215 virtual void initializeWidget(
MainControl& main_control);
225 virtual void finalizeWidget(
MainControl& main_control);
239 virtual void initializePreferencesTab(
Preferences &preferences);
253 virtual void finalizePreferencesTab(
Preferences &preferences);
266 virtual void applyPreferences();
278 virtual bool isValid()
const;
286 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
295 virtual void changeLock(
bool lock);
302 void handleLocking(
bool lock);
305 void lockRequested(
bool lock);
311 BALLViewServer server_;
321 QLabel *server_icon_;
322 static const char *mini_ray_xpm_[];
326 # ifndef BALL_NO_INLINE_FUNCTIONS
327 # include <BALL/VIEW/KERNEL/serverWidget.iC>
333 #endif // BALL_VIEW_KERNEL_SERVER_H
#define BALL_EMBEDDABLE(TYPE, BASE)