author | chicken <chicken> | 2004-03-01 18:52:44 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 18:52:44 (UTC) |
commit | 54a73e15350ea3cc4886a81572cef6e7876be26a (patch) (unidiff) | |
tree | c76d739875a0b90d69394f1894e30b8345c7b23c /noncore/applets | |
parent | 707d84768f4a3b4ada7435ba4c7451feaa11666c (diff) | |
download | opie-54a73e15350ea3cc4886a81572cef6e7876be26a.zip opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.gz opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.bz2 |
fix includes
-rw-r--r-- | noncore/applets/autorotateapplet/autorotate.cpp | 8 | ||||
-rw-r--r-- | noncore/applets/memoryapplet/swapfile.cpp | 4 | ||||
-rw-r--r-- | noncore/applets/networkapplet/networkapplet.cpp | 6 | ||||
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 5 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/advancedconfig.cpp | 1 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.cpp | 5 |
6 files changed, 1 insertions, 28 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp index e7891c8..5152904 100644 --- a/noncore/applets/autorotateapplet/autorotate.cpp +++ b/noncore/applets/autorotateapplet/autorotate.cpp | |||
@@ -10,33 +10,25 @@ | |||
10 | * * | 10 | * * |
11 | *************************************************************************/ | 11 | *************************************************************************/ |
12 | 12 | ||
13 | #include "autorotate.h" | 13 | #include "autorotate.h" |
14 | 14 | ||
15 | /* OPIE */ | 15 | /* OPIE */ |
16 | #include <opie2/odevice.h> | 16 | #include <opie2/odevice.h> |
17 | #include <qpe/applnk.h> | 17 | #include <qpe/applnk.h> |
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qpe/resource.h> | 19 | #include <qpe/resource.h> |
20 | 20 | ||
21 | /* QT */ | 21 | /* QT */ |
22 | #include <qapplication.h> | ||
23 | #include <qfile.h> | ||
24 | #include <qcopchannel_qws.h> | ||
25 | #include <qmessagebox.h> | ||
26 | #include <qpainter.h> | 22 | #include <qpainter.h> |
27 | #include <qpixmap.h> | ||
28 | #include <qimage.h> | ||
29 | #include <qtimer.h> | ||
30 | #include <qtextstream.h> | ||
31 | 23 | ||
32 | using namespace Opie; | 24 | using namespace Opie; |
33 | 25 | ||
34 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) | 26 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) |
35 | { | 27 | { |
36 | setFixedWidth( AppLnk::smallIconSize() ); | 28 | setFixedWidth( AppLnk::smallIconSize() ); |
37 | setFixedHeight( AppLnk::smallIconSize() ); | 29 | setFixedHeight( AppLnk::smallIconSize() ); |
38 | 30 | ||
39 | enabledPm.convertFromImage( Resource::loadImage("autorotate/rotate").smoothScale( height(), width() ) ); | 31 | enabledPm.convertFromImage( Resource::loadImage("autorotate/rotate").smoothScale( height(), width() ) ); |
40 | disabledPm.convertFromImage( Resource::loadImage("autorotate/norotate").smoothScale( height(), width() ) ); | 32 | disabledPm.convertFromImage( Resource::loadImage("autorotate/norotate").smoothScale( height(), width() ) ); |
41 | 33 | ||
42 | repaint(true); | 34 | repaint(true); |
diff --git a/noncore/applets/memoryapplet/swapfile.cpp b/noncore/applets/memoryapplet/swapfile.cpp index 06746a7..7483592 100644 --- a/noncore/applets/memoryapplet/swapfile.cpp +++ b/noncore/applets/memoryapplet/swapfile.cpp | |||
@@ -13,41 +13,37 @@ | |||
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "swapfile.h" | 21 | #include "swapfile.h" |
22 | 22 | ||
23 | #include <qlabel.h> | 23 | #include <qlabel.h> |
24 | #include <qtimer.h> | 24 | #include <qtimer.h> |
25 | #include <qfile.h> | ||
26 | #include <qtextstream.h> | ||
27 | #include <qlayout.h> | 25 | #include <qlayout.h> |
28 | #include <qpushbutton.h> | 26 | #include <qpushbutton.h> |
29 | #include <qhbuttongroup.h> | 27 | #include <qhbuttongroup.h> |
30 | #include <qradiobutton.h> | 28 | #include <qradiobutton.h> |
31 | #include <qlineedit.h> | 29 | #include <qlineedit.h> |
32 | #include <qprogressbar.h> | 30 | #include <qprogressbar.h> |
33 | #include <qcombobox.h> | 31 | #include <qcombobox.h> |
34 | #include <qvgroupbox.h> | 32 | #include <qvgroupbox.h> |
35 | #include <qhbox.h> | 33 | #include <qhbox.h> |
36 | #include <qmessagebox.h> | 34 | #include <qmessagebox.h> |
37 | #include <stdio.h> | 35 | #include <stdio.h> |
38 | #include <stdlib.h> | 36 | #include <stdlib.h> |
39 | #include <string.h> | 37 | #include <string.h> |
40 | #include <qfile.h> | ||
41 | #include <qtextstream.h> | ||
42 | 38 | ||
43 | #include <qcopchannel_qws.h> | 39 | #include <qcopchannel_qws.h> |
44 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
45 | 41 | ||
46 | #include <unistd.h> | 42 | #include <unistd.h> |
47 | #include <fcntl.h> | 43 | #include <fcntl.h> |
48 | #include <sys/vfs.h> | 44 | #include <sys/vfs.h> |
49 | #include <mntent.h> | 45 | #include <mntent.h> |
50 | #include <unistd.h> | 46 | #include <unistd.h> |
51 | #include <sys/types.h> | 47 | #include <sys/types.h> |
52 | 48 | ||
53 | Swapfile::Swapfile( QWidget *parent, const char *name, WFlags f ) | 49 | Swapfile::Swapfile( QWidget *parent, const char *name, WFlags f ) |
diff --git a/noncore/applets/networkapplet/networkapplet.cpp b/noncore/applets/networkapplet/networkapplet.cpp index 9a08568..955ed2e 100644 --- a/noncore/applets/networkapplet/networkapplet.cpp +++ b/noncore/applets/networkapplet/networkapplet.cpp | |||
@@ -26,37 +26,31 @@ | |||
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | 28 | ||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "networkapplet.h" | 31 | #include "networkapplet.h" |
32 | 32 | ||
33 | /* OPIE */ | 33 | /* OPIE */ |
34 | #include <opie2/odebug.h> | 34 | #include <opie2/odebug.h> |
35 | #include <opie2/onetwork.h> | 35 | #include <opie2/onetwork.h> |
36 | #include <opie2/otaskbarapplet.h> | 36 | #include <opie2/otaskbarapplet.h> |
37 | #include <qpe/applnk.h> | 37 | #include <qpe/applnk.h> |
38 | #include <qpe/qlibrary.h> | ||
39 | #include <qpe/resource.h> | 38 | #include <qpe/resource.h> |
40 | #include <qpainter.h> | 39 | #include <qpainter.h> |
41 | 40 | ||
42 | /* QT */ | 41 | /* QT */ |
43 | #include <qhostaddress.h> | ||
44 | #include <qimage.h> | ||
45 | #include <qlabel.h> | 42 | #include <qlabel.h> |
46 | #include <qlayout.h> | 43 | #include <qlayout.h> |
47 | #include <qlineedit.h> | ||
48 | #include <qobjectlist.h> | 44 | #include <qobjectlist.h> |
49 | #include <qpushbutton.h> | ||
50 | #include <qtoolbutton.h> | ||
51 | 45 | ||
52 | #include <assert.h> | 46 | #include <assert.h> |
53 | 47 | ||
54 | IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name ) | 48 | IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name ) |
55 | :QToolButton( parent, name ) | 49 | :QToolButton( parent, name ) |
56 | { | 50 | { |
57 | _iface = ONetwork::instance()->interface( name ); | 51 | _iface = ONetwork::instance()->interface( name ); |
58 | assert( _iface ); | 52 | assert( _iface ); |
59 | setToggleButton( true ); | 53 | setToggleButton( true ); |
60 | //setAutoRaise( true ); | 54 | //setAutoRaise( true ); |
61 | setOnIconSet( QIconSet( Resource::loadPixmap( "up" ) ) ); | 55 | setOnIconSet( QIconSet( Resource::loadPixmap( "up" ) ) ); |
62 | setOffIconSet( QIconSet( Resource::loadPixmap( "down" ) ) ); | 56 | setOffIconSet( QIconSet( Resource::loadPixmap( "down" ) ) ); |
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index e2b0c2a..7b8bdd9 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp | |||
@@ -11,32 +11,29 @@ | |||
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 "notes.h" | 16 | #include "notes.h" |
17 | 17 | ||
18 | #include <qapplication.h> | 18 | #include <qapplication.h> |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include <qstringlist.h> | 20 | #include <qstringlist.h> |
21 | 21 | ||
22 | #include <qpe/filemanager.h> | 22 | #include <qpe/filemanager.h> |
23 | #include <qpe/resource.h> | ||
24 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/timestring.h> | 24 | #include <qpe/timestring.h> |
26 | #include <qpe/resource.h> | ||
27 | #include <qpe/config.h> | ||
28 | #include <qpe/applnk.h> | 25 | #include <qpe/applnk.h> |
29 | #include <qpe/config.h> | ||
30 | #include <qpe/ir.h> | 26 | #include <qpe/ir.h> |
27 | #include <qpe/config.h> | ||
31 | 28 | ||
32 | // #include <qsocket.h> | 29 | // #include <qsocket.h> |
33 | // #include <qclipboard.h> | 30 | // #include <qclipboard.h> |
34 | #include <qmultilineedit.h> | 31 | #include <qmultilineedit.h> |
35 | #include <qlistbox.h> | 32 | #include <qlistbox.h> |
36 | #include <qpopupmenu.h> | 33 | #include <qpopupmenu.h> |
37 | #include <qmessagebox.h> | 34 | #include <qmessagebox.h> |
38 | 35 | ||
39 | #include <qdir.h> | 36 | #include <qdir.h> |
40 | #include <qfile.h> | 37 | #include <qfile.h> |
41 | #include <qpoint.h> | 38 | #include <qpoint.h> |
42 | #include <qpushbutton.h> | 39 | #include <qpushbutton.h> |
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 |