summaryrefslogtreecommitdiff
authordrw <drw>2005-05-23 23:49:14 (UTC)
committer drw <drw>2005-05-23 23:49:14 (UTC)
commitf5d45036d2a444f9ee27311895c430babcf947e5 (patch) (unidiff)
tree69a1ba1227931cccce2d916c6e0fd7dcc6ccd003
parenta04b6cb80be1c2df466b69ed40450820056aff06 (diff)
downloadopie-f5d45036d2a444f9ee27311895c430babcf947e5.zip
opie-f5d45036d2a444f9ee27311895c430babcf947e5.tar.gz
opie-f5d45036d2a444f9ee27311895c430babcf947e5.tar.bz2
Remove unnecessary include and fix compiler warning
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/formatter/formatter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/tools/formatter/formatter.cpp b/noncore/tools/formatter/formatter.cpp
index 642196e..2b8cca2 100644
--- a/noncore/tools/formatter/formatter.cpp
+++ b/noncore/tools/formatter/formatter.cpp
@@ -4,25 +4,24 @@
4 ** Copyright: Thu Apr 11 11:01:13 2002 4 ** Copyright: Thu Apr 11 11:01:13 2002
5 ** by: L. J. Potter 5 ** by: L. J. Potter
6 ** 6 **
7 ****************************************************************************/ 7 ****************************************************************************/
8 8
9#include "formatter.h" 9#include "formatter.h"
10#include "inputDialog.h" 10#include "inputDialog.h"
11#include "output.h" 11#include "output.h"
12 12
13/* OPIE */ 13/* OPIE */
14#include <opie2/odebug.h> 14#include <opie2/odebug.h>
15#include <qpe/qpeapplication.h> 15#include <qpe/qpeapplication.h>
16#include <qpe/resource.h>
17#include <qpe/config.h> 16#include <qpe/config.h>
18#include <qpe/mimetype.h> 17#include <qpe/mimetype.h>
19#include <qpe/qcopenvelope_qws.h> 18#include <qpe/qcopenvelope_qws.h>
20#include <qpe/storage.h> 19#include <qpe/storage.h>
21using namespace Opie::Core; 20using namespace Opie::Core;
22 21
23/* QT */ 22/* QT */
24#include <qmenubar.h> 23#include <qmenubar.h>
25#include <qmultilineedit.h> 24#include <qmultilineedit.h>
26#include <qstring.h> 25#include <qstring.h>
27#include <qlist.h> 26#include <qlist.h>
28#include <qstringlist.h> 27#include <qstringlist.h>
@@ -47,25 +46,25 @@ using namespace Opie::Core;
47#include <stdio.h> 46#include <stdio.h>
48#include <stdlib.h> 47#include <stdlib.h>
49#include <sys/vfs.h> 48#include <sys/vfs.h>
50#include <mntent.h> 49#include <mntent.h>
51#include <string.h> 50#include <string.h>
52#include <errno.h> 51#include <errno.h>
53 52
54#define BLANK ' ' 53#define BLANK ' '
55#define DELIMITER '#' 54#define DELIMITER '#'
56 55
57/* 56/*
58 Blah blah blah blah */ 57 Blah blah blah blah */
59FormatterApp::FormatterApp( QWidget* parent, const char* name, WFlags fl, bool modal ) 58FormatterApp::FormatterApp( QWidget* parent, const char* name, WFlags fl, bool /*modal*/ )
60 : QMainWindow( parent, name, fl ) 59 : QMainWindow( parent, name, fl )
61 // : QDialog( parent, name, modal, fl ) 60 // : QDialog( parent, name, modal, fl )
62{ 61{
63 if ( !name ) 62 if ( !name )
64 setName( "FormatterApp" ); 63 setName( "FormatterApp" );
65 connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); 64 connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) );
66 65
67 setCaption( tr( "Formatter" ) ); 66 setCaption( tr( "Formatter" ) );
68 FormatterAppLayout = new QGridLayout( this ); 67 FormatterAppLayout = new QGridLayout( this );
69 FormatterAppLayout->setSpacing( 2); 68 FormatterAppLayout->setSpacing( 2);
70 FormatterAppLayout->setMargin( 2 ); 69 FormatterAppLayout->setMargin( 2 );
71 70