-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 @@ * * *************************************************************************/ #include "autorotate.h" /* OPIE */ #include <opie2/odevice.h> #include <qpe/applnk.h> #include <qpe/config.h> #include <qpe/resource.h> /* QT */ -#include <qapplication.h> -#include <qfile.h> -#include <qcopchannel_qws.h> -#include <qmessagebox.h> #include <qpainter.h> -#include <qpixmap.h> -#include <qimage.h> -#include <qtimer.h> -#include <qtextstream.h> using namespace Opie; AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) { setFixedWidth( AppLnk::smallIconSize() ); setFixedHeight( AppLnk::smallIconSize() ); enabledPm.convertFromImage( Resource::loadImage("autorotate/rotate").smoothScale( height(), width() ) ); disabledPm.convertFromImage( Resource::loadImage("autorotate/norotate").smoothScale( height(), width() ) ); 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 @@ ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "swapfile.h" #include <qlabel.h> #include <qtimer.h> -#include <qfile.h> -#include <qtextstream.h> #include <qlayout.h> #include <qpushbutton.h> #include <qhbuttongroup.h> #include <qradiobutton.h> #include <qlineedit.h> #include <qprogressbar.h> #include <qcombobox.h> #include <qvgroupbox.h> #include <qhbox.h> #include <qmessagebox.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <qfile.h> -#include <qtextstream.h> #include <qcopchannel_qws.h> #include <qpe/resource.h> #include <unistd.h> #include <fcntl.h> #include <sys/vfs.h> #include <mntent.h> #include <unistd.h>
#include <sys/types.h>
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 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "networkapplet.h" /* OPIE */ #include <opie2/odebug.h> #include <opie2/onetwork.h> #include <opie2/otaskbarapplet.h> #include <qpe/applnk.h> -#include <qpe/qlibrary.h> #include <qpe/resource.h> #include <qpainter.h> /* QT */ -#include <qhostaddress.h> -#include <qimage.h> #include <qlabel.h> #include <qlayout.h> -#include <qlineedit.h> #include <qobjectlist.h> -#include <qpushbutton.h> -#include <qtoolbutton.h> #include <assert.h> IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name ) :QToolButton( parent, name ) { _iface = ONetwork::instance()->interface( name ); assert( _iface ); setToggleButton( true ); //setAutoRaise( true ); setOnIconSet( QIconSet( Resource::loadPixmap( "up" ) ) ); 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 @@ ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ #include "notes.h" #include <qapplication.h> #include <stdlib.h> #include <qstringlist.h> #include <qpe/filemanager.h> -#include <qpe/resource.h> #include <qpe/qpeapplication.h> #include <qpe/timestring.h> -#include <qpe/resource.h> -#include <qpe/config.h> #include <qpe/applnk.h> -#include <qpe/config.h> #include <qpe/ir.h> +#include <qpe/config.h> // #include <qsocket.h> // #include <qclipboard.h> #include <qmultilineedit.h> #include <qlistbox.h> #include <qpopupmenu.h> #include <qmessagebox.h> #include <qdir.h> #include <qfile.h> #include <qpoint.h> #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 @@ ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ #include "advancedconfig.h" #include <qpe/config.h> -#include <qwidget.h> #include <qcheckbox.h> AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) : AdvancedConfigBase( parent, name, modal, fl ) { Config cfg( "qpe" ); cfg.setGroup( "Wireless" ); bool rocESSID = cfg.readBoolEntry( "renew_dhcp_on_essid_change", false ); bool rocFREQ = cfg.readBoolEntry( "renew_dhcp_on_freq_change", false ); bool rocAP = cfg.readBoolEntry( "renew_dhcp_on_ap_change", false ); 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 @@ #include "advancedconfig.h" #include "connect0.xpm" #include "connect1.xpm" #include "connect2.xpm" #include "connect3.xpm" #include "connect4.xpm" #include "connect5.xpm" #include "nowireless.xpm" /* OPIE */ #include <opie2/onetwork.h> #include <opie2/otaskbarapplet.h> -#include <qpe/qpeapplication.h> #include <qpe/config.h> /* QT */ -#include <qpoint.h> #include <qradiobutton.h> #include <qpushbutton.h> #include <qpainter.h> #include <qlabel.h> #include <qslider.h> #include <qbuttongroup.h> #include <qlayout.h> -#include <qframe.h> -#include <qpixmap.h> -#include <qstring.h> #include <qfile.h> #include <qtextstream.h> /* STD */ #include <sys/types.h> #include <signal.h> #define STYLE_BARS 0 #define STYLE_ANTENNA 1 //#define MDEBUG #undef MDEBUG |