BALL
1.4.1
|
00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_VIEW_DIALOGS_NETWORKPREFERENCES_H 00006 #define BALL_VIEW_DIALOGS_NETWORKPREFERENCES_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 # include <BALL/COMMON/global.h> 00010 #endif 00011 00012 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY 00013 # include <BALL/VIEW/KERNEL/preferencesEntry.h> 00014 #endif 00015 00016 #include <BALL/VIEW/UIC/ui_networkPreferences.h> 00017 00018 #include <QtGui/QWidget> 00019 00020 namespace BALL 00021 { 00022 namespace VIEW 00023 { 00024 00029 class BALL_VIEW_EXPORT NetworkPreferences 00030 : public QWidget, 00031 public Ui_NetworkPreferencesData, 00032 public PreferencesEntry 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 00039 NetworkPreferences(QWidget *parent = NULL, const char *name = "NetworkPreferences", Qt::WFlags fl=0); 00040 00042 virtual ~NetworkPreferences(); 00043 00045 void applySettings(); 00046 00048 void getSettings(); 00049 00051 bool proxyEnabled(); 00052 00053 public slots: 00054 00056 void proxyModeChanged(int proxy_mode); 00057 00058 }; 00059 00060 } 00061 } // namespace 00062 00063 #endif // BALL_VIEW_DIALOGS_NETWORKPREFERENCES_H