author | llornkcor <llornkcor> | 2003-05-26 14:08:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-26 14:08:02 (UTC) |
commit | 304b92e24c7a7da309977cd996fc89848d8899dc (patch) (unidiff) | |
tree | 7af2aa9a9f8a00dfc710c3a80fdb5b4e42728929 | |
parent | 8689d97f101fdf799e401aae8e7d1653cd3dc9bd (diff) | |
download | opie-304b92e24c7a7da309977cd996fc89848d8899dc.zip opie-304b92e24c7a7da309977cd996fc89848d8899dc.tar.gz opie-304b92e24c7a7da309977cd996fc89848d8899dc.tar.bz2 |
fix complie
-rw-r--r-- | noncore/tools/formatter/formatter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/tools/formatter/formatter.cpp b/noncore/tools/formatter/formatter.cpp index 79a7f9e..cca0c26 100644 --- a/noncore/tools/formatter/formatter.cpp +++ b/noncore/tools/formatter/formatter.cpp | |||
@@ -1,77 +1,76 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** formatter.cpp | 2 | ** formatter.cpp |
3 | ** | 3 | ** |
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 | #include <qpe/qpemenubar.h> | 13 | #include <qpe/qpemenubar.h> |
14 | #include <qpe/qpetoolbar.h> | 14 | #include <qpe/qpetoolbar.h> |
15 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
16 | #include <qpe/resource.h> | 16 | #include <qpe/resource.h> |
17 | #include <qpe/config.h> | 17 | #include <qpe/config.h> |
18 | #include <qpe/mimetype.h> | 18 | #include <qpe/mimetype.h> |
19 | #include <qpe/qcopenvelope_qws.h> | 19 | #include <qpe/qcopenvelope_qws.h> |
20 | #include <qpe/storage.h> | 20 | #include <qpe/storage.h> |
21 | 21 | ||
22 | #include <qmultilineedit.h> | 22 | #include <qmultilineedit.h> |
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | #include <qlist.h> | ||
25 | #include <qstringlist.h> | 24 | #include <qstringlist.h> |
26 | #include <qdir.h> | 25 | #include <qdir.h> |
27 | #include <qfile.h> | 26 | #include <qfile.h> |
28 | 27 | ||
29 | #include <qtstream.h> | 28 | #include <qtextstream.h> |
30 | 29 | ||
31 | #include <qcombobox.h> | 30 | #include <qcombobox.h> |
32 | #include <qpopupmenu.h> | 31 | #include <qpopupmenu.h> |
33 | #include <qmessagebox.h> | 32 | #include <qmessagebox.h> |
34 | #include <qregexp.h> | 33 | #include <qregexp.h> |
35 | 34 | ||
36 | #include <qlabel.h> | 35 | #include <qlabel.h> |
37 | #include <qlineedit.h> | 36 | #include <qlineedit.h> |
38 | #include <qpushbutton.h> | 37 | #include <qpushbutton.h> |
39 | #include <qtabwidget.h> | 38 | #include <qtabwidget.h> |
40 | #include <qwidget.h> | 39 | #include <qwidget.h> |
41 | #include <qlayout.h> | 40 | #include <qlayout.h> |
42 | #include <qvariant.h> | 41 | #include <qvariant.h> |
43 | 42 | ||
44 | #include <unistd.h> | 43 | #include <unistd.h> |
45 | #include <stdio.h> | 44 | #include <stdio.h> |
46 | #include <stdlib.h> | 45 | #include <stdlib.h> |
47 | #include <sys/vfs.h> | 46 | #include <sys/vfs.h> |
48 | #include <mntent.h> | 47 | #include <mntent.h> |
49 | #include <string.h> | 48 | #include <string.h> |
50 | #include <errno.h> | 49 | #include <errno.h> |
51 | 50 | ||
52 | #define BLANK ' ' | 51 | #define BLANK ' ' |
53 | #define DELIMITER '#' | 52 | #define DELIMITER '#' |
54 | 53 | ||
55 | /* | 54 | /* |
56 | Blah blah blah blah */ | 55 | Blah blah blah blah */ |
57 | FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFlags fl ) | 56 | FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFlags fl ) |
58 | : QMainWindow( parent, name, fl ) | 57 | : QMainWindow( parent, name, fl ) |
59 | // : QDialog( parent, name, modal, fl ) | 58 | // : QDialog( parent, name, modal, fl ) |
60 | { | 59 | { |
61 | if ( !name ) | 60 | if ( !name ) |
62 | setName( "FormatterApp" ); | 61 | setName( "FormatterApp" ); |
63 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); | 62 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); |
64 | 63 | ||
65 | setCaption( tr( "Formatter" ) ); | 64 | setCaption( tr( "Formatter" ) ); |
66 | FormatterAppLayout = new QGridLayout( this ); | 65 | FormatterAppLayout = new QGridLayout( this ); |
67 | FormatterAppLayout->setSpacing( 2); | 66 | FormatterAppLayout->setSpacing( 2); |
68 | FormatterAppLayout->setMargin( 2 ); | 67 | FormatterAppLayout->setMargin( 2 ); |
69 | 68 | ||
70 | TabWidget = new QTabWidget( this, "TabWidget" ); | 69 | TabWidget = new QTabWidget( this, "TabWidget" ); |
71 | 70 | ||
72 | tab = new QWidget( TabWidget, "tab" ); | 71 | tab = new QWidget( TabWidget, "tab" ); |
73 | tabLayout = new QGridLayout( tab ); | 72 | tabLayout = new QGridLayout( tab ); |
74 | tabLayout->setSpacing( 3); | 73 | tabLayout->setSpacing( 3); |
75 | tabLayout->setMargin( 2); | 74 | tabLayout->setMargin( 2); |
76 | 75 | ||
77 | storageComboBox = new QComboBox( FALSE, tab, "storageComboBox" ); | 76 | storageComboBox = new QComboBox( FALSE, tab, "storageComboBox" ); |