author | chicken <chicken> | 2004-03-01 20:00:34 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 20:00:34 (UTC) |
commit | 6bab4a28785c4ab5b0f0707c8c8db953e399cac8 (patch) (unidiff) | |
tree | 126dd6c09cc82b3d41ea70410803daac5cde5b60 /noncore/apps/zsafe | |
parent | 4ffae5ecb25f6d640c69f53f02755b6ec58d4c98 (diff) | |
download | opie-6bab4a28785c4ab5b0f0707c8c8db953e399cac8.zip opie-6bab4a28785c4ab5b0f0707c8c8db953e399cac8.tar.gz opie-6bab4a28785c4ab5b0f0707c8c8db953e399cac8.tar.bz2 |
fix includes
-rw-r--r-- | noncore/apps/zsafe/category.cpp | 1 | ||||
-rw-r--r-- | noncore/apps/zsafe/main.cpp | 1 | ||||
-rwxr-xr-x | noncore/apps/zsafe/qsettings.cpp | 1 | ||||
-rw-r--r-- | noncore/apps/zsafe/scqtfiledlg.cpp | 5 | ||||
-rw-r--r-- | noncore/apps/zsafe/scqtfileedit.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/zsafe/zlistview.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/zsafe/zsafe.cpp | 1 |
7 files changed, 0 insertions, 15 deletions
diff --git a/noncore/apps/zsafe/category.cpp b/noncore/apps/zsafe/category.cpp index ce1d614..15448f0 100644 --- a/noncore/apps/zsafe/category.cpp +++ b/noncore/apps/zsafe/category.cpp | |||
@@ -1,22 +1,21 @@ | |||
1 | /* C implementation of RC2 encryption algorithm, as described in RFC2268 */ | 1 | /* C implementation of RC2 encryption algorithm, as described in RFC2268 */ |
2 | /* By Matthew Palmer <mjp16@uow.edu.au> */ | 2 | /* By Matthew Palmer <mjp16@uow.edu.au> */ |
3 | /* $Id$ */ | 3 | /* $Id$ */ |
4 | 4 | ||
5 | #include "category.h" | 5 | #include "category.h" |
6 | #include <qlistview.h> | ||
7 | 6 | ||
8 | Category::Category() | 7 | Category::Category() |
9 | { | 8 | { |
10 | } | 9 | } |
11 | 10 | ||
12 | Category::~Category() | 11 | Category::~Category() |
13 | { | 12 | { |
14 | } | 13 | } |
15 | 14 | ||
16 | QString Category::getIconName() | 15 | QString Category::getIconName() |
17 | { | 16 | { |
18 | return iconName; | 17 | return iconName; |
19 | } | 18 | } |
20 | 19 | ||
21 | QString Category::getCategoryName() | 20 | QString Category::getCategoryName() |
22 | { | 21 | { |
diff --git a/noncore/apps/zsafe/main.cpp b/noncore/apps/zsafe/main.cpp index 7ff549b..4fe319b 100644 --- a/noncore/apps/zsafe/main.cpp +++ b/noncore/apps/zsafe/main.cpp | |||
@@ -2,33 +2,32 @@ | |||
2 | ** Author: Carsten Schneider <CarstenSchneider@t-online.de> | 2 | ** Author: Carsten Schneider <CarstenSchneider@t-online.de> |
3 | ** | 3 | ** |
4 | ** $Id$ | 4 | ** $Id$ |
5 | ** | 5 | ** |
6 | ** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html | 6 | ** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html |
7 | */ | 7 | */ |
8 | 8 | ||
9 | 9 | ||
10 | #include "zsafe.h" | 10 | #include "zsafe.h" |
11 | #ifdef DESKTOP | 11 | #ifdef DESKTOP |
12 | #include <qapplication.h> | 12 | #include <qapplication.h> |
13 | #else | 13 | #else |
14 | #include <qpe/qpeapplication.h> | 14 | #include <qpe/qpeapplication.h> |
15 | #endif | 15 | #endif |
16 | #include <stdio.h> | 16 | #include <stdio.h> |
17 | #include <signal.h> | 17 | #include <signal.h> |
18 | #include "qsettings.h" | ||
19 | 18 | ||
20 | ZSafe *zs; | 19 | ZSafe *zs; |
21 | #ifdef DESKTOP | 20 | #ifdef DESKTOP |
22 | QApplication *appl; | 21 | QApplication *appl; |
23 | #else | 22 | #else |
24 | QPEApplication *appl; | 23 | QPEApplication *appl; |
25 | #endif | 24 | #endif |
26 | 25 | ||
27 | int DeskW; | 26 | int DeskW; |
28 | int DeskH; | 27 | int DeskH; |
29 | 28 | ||
30 | void suspend (int signum) | 29 | void suspend (int signum) |
31 | { | 30 | { |
32 | printf ("Suspend signal %d received\n", signum); | 31 | printf ("Suspend signal %d received\n", signum); |
33 | } | 32 | } |
34 | 33 | ||
diff --git a/noncore/apps/zsafe/qsettings.cpp b/noncore/apps/zsafe/qsettings.cpp index 62a9947..ee55339 100755 --- a/noncore/apps/zsafe/qsettings.cpp +++ b/noncore/apps/zsafe/qsettings.cpp | |||
@@ -1,22 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id$ | 2 | ** $Id$ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include "qsettings.h" | 5 | #include "qsettings.h" |
6 | #include <qstringlist.h> | ||
7 | #include <stdio.h> | 6 | #include <stdio.h> |
8 | #include <qfile.h> | 7 | #include <qfile.h> |
9 | #include <qtextstream.h> | 8 | #include <qtextstream.h> |
10 | 9 | ||
11 | 10 | ||
12 | QSettings::QSettings(const QString &_fn) | 11 | QSettings::QSettings(const QString &_fn) |
13 | { | 12 | { |
14 | // read the prefs from the file | 13 | // read the prefs from the file |
15 | fn = _fn; | 14 | fn = _fn; |
16 | 15 | ||
17 | QFile f(_fn); | 16 | QFile f(_fn); |
18 | if ( f.open(IO_ReadOnly) ) { // file opened successfully | 17 | if ( f.open(IO_ReadOnly) ) { // file opened successfully |
19 | QTextStream t( &f ); // use a text stream | 18 | QTextStream t( &f ); // use a text stream |
20 | QString s; | 19 | QString s; |
21 | while ( !t.eof() ) { // until end of file... | 20 | while ( !t.eof() ) { // until end of file... |
22 | s = t.readLine(); // line of text excluding '\n' | 21 | s = t.readLine(); // line of text excluding '\n' |
diff --git a/noncore/apps/zsafe/scqtfiledlg.cpp b/noncore/apps/zsafe/scqtfiledlg.cpp index d6cea64..dd72fdf 100644 --- a/noncore/apps/zsafe/scqtfiledlg.cpp +++ b/noncore/apps/zsafe/scqtfiledlg.cpp | |||
@@ -1,38 +1,33 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form implementation generated from reading ui file 'scqtfiledlg.ui' | 2 | ** Form implementation generated from reading ui file 'scqtfiledlg.ui' |
3 | ** | 3 | ** |
4 | ** Created: Sun Jun 8 15:51:12 2003 | 4 | ** Created: Sun Jun 8 15:51:12 2003 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "scqtfiledlg.h" | 9 | #include "scqtfiledlg.h" |
10 | 10 | ||
11 | #include <qcombobox.h> | 11 | #include <qcombobox.h> |
12 | #include <qheader.h> | ||
13 | #include <qlineedit.h> | 12 | #include <qlineedit.h> |
14 | #include <qlistview.h> | 13 | #include <qlistview.h> |
15 | #include <qpushbutton.h> | ||
16 | #include <qtoolbutton.h> | 14 | #include <qtoolbutton.h> |
17 | #include <qlayout.h> | 15 | #include <qlayout.h> |
18 | #include <qvariant.h> | ||
19 | #include <qtooltip.h> | 16 | #include <qtooltip.h> |
20 | #include <qwhatsthis.h> | 17 | #include <qwhatsthis.h> |
21 | #include <qimage.h> | ||
22 | #include <qpixmap.h> | ||
23 | 18 | ||
24 | static const char* const image0_data[] = { | 19 | static const char* const image0_data[] = { |
25 | "24 16 3 1", | 20 | "24 16 3 1", |
26 | ". c None", | 21 | ". c None", |
27 | "# c #000040", | 22 | "# c #000040", |
28 | "a c #808080", | 23 | "a c #808080", |
29 | "........................", | 24 | "........................", |
30 | "........................", | 25 | "........................", |
31 | ".................####...", | 26 | ".................####...", |
32 | ".................####...", | 27 | ".................####...", |
33 | ".......##........#aa#...", | 28 | ".......##........#aa#...", |
34 | "......###........#aa#...", | 29 | "......###........#aa#...", |
35 | ".....####........#aa#...", | 30 | ".....####........#aa#...", |
36 | "....##############aa#...", | 31 | "....##############aa#...", |
37 | "...###aaaaaaaaaaaaaa#...", | 32 | "...###aaaaaaaaaaaaaa#...", |
38 | "..####aaaaaaaaaaaaaa#...", | 33 | "..####aaaaaaaaaaaaaa#...", |
diff --git a/noncore/apps/zsafe/scqtfileedit.cpp b/noncore/apps/zsafe/scqtfileedit.cpp index 7a3d906..08fc2b5 100644 --- a/noncore/apps/zsafe/scqtfileedit.cpp +++ b/noncore/apps/zsafe/scqtfileedit.cpp | |||
@@ -6,36 +6,32 @@ | |||
6 | email : sc@schulte-ac.de | 6 | email : sc@schulte-ac.de |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /* $Id$ */ | 9 | /* $Id$ */ |
10 | 10 | ||
11 | /*************************************************************************** | 11 | /*************************************************************************** |
12 | * * | 12 | * * |
13 | * This program is free software; you can redistribute it and/or modify * | 13 | * This program is free software; you can redistribute it and/or modify * |
14 | * it under the terms of the GNU General Public License as published by * | 14 | * it under the terms of the GNU General Public License as published by * |
15 | * the Free Software Foundation; either version 2 of the License, or * | 15 | * the Free Software Foundation; either version 2 of the License, or * |
16 | * (at your option) any later version. * | 16 | * (at your option) any later version. * |
17 | * * | 17 | * * |
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | #include <stdio.h> | 19 | #include <stdio.h> |
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | 21 | ||
22 | #include "qdir.h" | ||
23 | #include "qdialog.h" | ||
24 | #include "qpixmap.h" | ||
25 | #include "qlistview.h" | ||
26 | #include "qlineedit.h" | 22 | #include "qlineedit.h" |
27 | #include "qtoolbutton.h" | 23 | #include "qtoolbutton.h" |
28 | 24 | ||
29 | #include "scqtfileedit.h" | 25 | #include "scqtfileedit.h" |
30 | 26 | ||
31 | #include <qpe/qpeapplication.h> | 27 | #include <qpe/qpeapplication.h> |
32 | 28 | ||
33 | // #define DEBUGFILEEDIT | 29 | // #define DEBUGFILEEDIT |
34 | 30 | ||
35 | /* XPM */ | 31 | /* XPM */ |
36 | static const char* const file_xpm[]={ | 32 | static const char* const file_xpm[]={ |
37 | "16 16 5 1", | 33 | "16 16 5 1", |
38 | ". c #7f7f7f", | 34 | ". c #7f7f7f", |
39 | "# c None", | 35 | "# c None", |
40 | "c c #000000", | 36 | "c c #000000", |
41 | "b c #bfbfbf", | 37 | "b c #bfbfbf", |
diff --git a/noncore/apps/zsafe/zlistview.cpp b/noncore/apps/zsafe/zlistview.cpp index 23bbc4e..ba02a15 100644 --- a/noncore/apps/zsafe/zlistview.cpp +++ b/noncore/apps/zsafe/zlistview.cpp | |||
@@ -1,23 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id$ | 2 | ** $Id$ |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include "zlistview.h" | 5 | #include "zlistview.h" |
6 | #include <qlistview.h> | ||
7 | #include <qevent.h> | ||
8 | #include <stdio.h> | 6 | #include <stdio.h> |
9 | #include "zsafe.h" | 7 | #include "zsafe.h" |
10 | 8 | ||
11 | ZListView::ZListView (ZSafe *zsafe, const char *id) : QListView(zsafe, id) | 9 | ZListView::ZListView (ZSafe *zsafe, const char *id) : QListView(zsafe, id) |
12 | { | 10 | { |
13 | zs = zsafe; | 11 | zs = zsafe; |
14 | } | 12 | } |
15 | 13 | ||
16 | ZListView::~ZListView() | 14 | ZListView::~ZListView() |
17 | { | 15 | { |
18 | } | 16 | } |
19 | 17 | ||
20 | void ZListView::keyPressEvent ( QKeyEvent *e ) | 18 | void ZListView::keyPressEvent ( QKeyEvent *e ) |
21 | { | 19 | { |
22 | /* | 20 | /* |
23 | char buf[64]; | 21 | char buf[64]; |
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp index f43a206..a3e805e 100644 --- a/noncore/apps/zsafe/zsafe.cpp +++ b/noncore/apps/zsafe/zsafe.cpp | |||
@@ -66,33 +66,32 @@ using Opie::OFileSelector; | |||
66 | #include <qfile.h> | 66 | #include <qfile.h> |
67 | #include <qpe/fileselector.h> | 67 | #include <qpe/fileselector.h> |
68 | #include <qpe/global.h> | 68 | #include <qpe/global.h> |
69 | #include <qpe/qpeapplication.h> | 69 | #include <qpe/qpeapplication.h> |
70 | #include <qpe/resource.h> | 70 | #include <qpe/resource.h> |
71 | #include <qpe/config.h> | 71 | #include <qpe/config.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include <qtimer.h> | 74 | #include <qtimer.h> |
75 | #include <qlayout.h> | 75 | #include <qlayout.h> |
76 | #include <qmessagebox.h> | 76 | #include <qmessagebox.h> |
77 | #include <qfile.h> | 77 | #include <qfile.h> |
78 | #include <qtextstream.h> | 78 | #include <qtextstream.h> |
79 | #include <qheader.h> | 79 | #include <qheader.h> |
80 | #include <qlistview.h> | 80 | #include <qlistview.h> |
81 | #include <qtoolbutton.h> | 81 | #include <qtoolbutton.h> |
82 | #include <qlayout.h> | ||
83 | #include <qvariant.h> | 82 | #include <qvariant.h> |
84 | #include <qtooltip.h> | 83 | #include <qtooltip.h> |
85 | #include <qwhatsthis.h> | 84 | #include <qwhatsthis.h> |
86 | #include <qimage.h> | 85 | #include <qimage.h> |
87 | #include <qpixmap.h> | 86 | #include <qpixmap.h> |
88 | #include <qlineedit.h> | 87 | #include <qlineedit.h> |
89 | #include <qmultilineedit.h> | 88 | #include <qmultilineedit.h> |
90 | #include <qregexp.h> | 89 | #include <qregexp.h> |
91 | #include <qdir.h> | 90 | #include <qdir.h> |
92 | #include <qtextbrowser.h> | 91 | #include <qtextbrowser.h> |
93 | #include <qlabel.h> | 92 | #include <qlabel.h> |
94 | #include <qcombobox.h> | 93 | #include <qcombobox.h> |
95 | 94 | ||
96 | #include "krc2.h" | 95 | #include "krc2.h" |
97 | 96 | ||
98 | #include "wait.h" | 97 | #include "wait.h" |