Diffstat (limited to 'noncore/applets/wirelessapplet') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/advancedconfig.cpp | 1 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/noncore/applets/wirelessapplet/advancedconfig.cpp b/noncore/applets/wirelessapplet/advancedconfig.cpp index 97b008d..aba0fee 100644 --- a/noncore/applets/wirelessapplet/advancedconfig.cpp +++ b/noncore/applets/wirelessapplet/advancedconfig.cpp | |||
@@ -7,25 +7,24 @@ | |||
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "advancedconfig.h" | 16 | #include "advancedconfig.h" |
17 | 17 | ||
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qwidget.h> | ||
20 | #include <qcheckbox.h> | 19 | #include <qcheckbox.h> |
21 | 20 | ||
22 | AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) | 21 | AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) |
23 | : AdvancedConfigBase( parent, name, modal, fl ) | 22 | : AdvancedConfigBase( parent, name, modal, fl ) |
24 | { | 23 | { |
25 | Config cfg( "qpe" ); | 24 | Config cfg( "qpe" ); |
26 | cfg.setGroup( "Wireless" ); | 25 | cfg.setGroup( "Wireless" ); |
27 | 26 | ||
28 | bool rocESSID = cfg.readBoolEntry( "renew_dhcp_on_essid_change", false ); | 27 | bool rocESSID = cfg.readBoolEntry( "renew_dhcp_on_essid_change", false ); |
29 | bool rocFREQ = cfg.readBoolEntry( "renew_dhcp_on_freq_change", false ); | 28 | bool rocFREQ = cfg.readBoolEntry( "renew_dhcp_on_freq_change", false ); |
30 | bool rocAP = cfg.readBoolEntry( "renew_dhcp_on_ap_change", false ); | 29 | bool rocAP = cfg.readBoolEntry( "renew_dhcp_on_ap_change", false ); |
31 | bool rocMODE = cfg.readBoolEntry( "renew_dhcp_on_mode_change", false ); | 30 | bool rocMODE = cfg.readBoolEntry( "renew_dhcp_on_mode_change", false ); |
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp index cee789c..9ce6618 100644 --- a/noncore/applets/wirelessapplet/wireless.cpp +++ b/noncore/applets/wirelessapplet/wireless.cpp | |||
@@ -16,39 +16,34 @@ | |||
16 | #include "advancedconfig.h" | 16 | #include "advancedconfig.h" |
17 | #include "connect0.xpm" | 17 | #include "connect0.xpm" |
18 | #include "connect1.xpm" | 18 | #include "connect1.xpm" |
19 | #include "connect2.xpm" | 19 | #include "connect2.xpm" |
20 | #include "connect3.xpm" | 20 | #include "connect3.xpm" |
21 | #include "connect4.xpm" | 21 | #include "connect4.xpm" |
22 | #include "connect5.xpm" | 22 | #include "connect5.xpm" |
23 | #include "nowireless.xpm" | 23 | #include "nowireless.xpm" |
24 | 24 | ||
25 | /* OPIE */ | 25 | /* OPIE */ |
26 | #include <opie2/onetwork.h> | 26 | #include <opie2/onetwork.h> |
27 | #include <opie2/otaskbarapplet.h> | 27 | #include <opie2/otaskbarapplet.h> |
28 | #include <qpe/qpeapplication.h> | ||
29 | #include <qpe/config.h> | 28 | #include <qpe/config.h> |
30 | 29 | ||
31 | /* QT */ | 30 | /* QT */ |
32 | #include <qpoint.h> | ||
33 | #include <qradiobutton.h> | 31 | #include <qradiobutton.h> |
34 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
35 | #include <qpainter.h> | 33 | #include <qpainter.h> |
36 | #include <qlabel.h> | 34 | #include <qlabel.h> |
37 | #include <qslider.h> | 35 | #include <qslider.h> |
38 | #include <qbuttongroup.h> | 36 | #include <qbuttongroup.h> |
39 | #include <qlayout.h> | 37 | #include <qlayout.h> |
40 | #include <qframe.h> | ||
41 | #include <qpixmap.h> | ||
42 | #include <qstring.h> | ||
43 | #include <qfile.h> | 38 | #include <qfile.h> |
44 | #include <qtextstream.h> | 39 | #include <qtextstream.h> |
45 | 40 | ||
46 | /* STD */ | 41 | /* STD */ |
47 | #include <sys/types.h> | 42 | #include <sys/types.h> |
48 | #include <signal.h> | 43 | #include <signal.h> |
49 | 44 | ||
50 | #define STYLE_BARS 0 | 45 | #define STYLE_BARS 0 |
51 | #define STYLE_ANTENNA 1 | 46 | #define STYLE_ANTENNA 1 |
52 | 47 | ||
53 | //#define MDEBUG | 48 | //#define MDEBUG |
54 | #undef MDEBUG | 49 | #undef MDEBUG |