author | llornkcor <llornkcor> | 2003-07-17 15:00:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-07-17 15:00:34 (UTC) |
commit | 6140e0d6a131ac127ebfc583990cb6ceefdd30ad (patch) (unidiff) | |
tree | 7b0f5f856dc16b535454f9737b59dff18d7b3626 | |
parent | 53237dd02577d118e1ad19a18819f86f1a4ea207 (diff) | |
download | opie-6140e0d6a131ac127ebfc583990cb6ceefdd30ad.zip opie-6140e0d6a131ac127ebfc583990cb6ceefdd30ad.tar.gz opie-6140e0d6a131ac127ebfc583990cb6ceefdd30ad.tar.bz2 |
fixincludes
-rw-r--r-- | noncore/apps/checkbook/checkbook.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/checkbook/configuration.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/checkbook/graph.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/checkbook/mainwindow.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/checkbook/password.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/checkbook/traninfo.h | 1 | ||||
-rw-r--r-- | noncore/apps/checkbook/transaction.cpp | 5 |
7 files changed, 0 insertions, 19 deletions
diff --git a/noncore/apps/checkbook/checkbook.cpp b/noncore/apps/checkbook/checkbook.cpp index 5fe660c..653ee4a 100644 --- a/noncore/apps/checkbook/checkbook.cpp +++ b/noncore/apps/checkbook/checkbook.cpp | |||
@@ -26,40 +26,36 @@ | |||
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "checkbook.h" | 29 | #include "checkbook.h" |
30 | #include "cbinfo.h" | 30 | #include "cbinfo.h" |
31 | #include "transaction.h" | 31 | #include "transaction.h" |
32 | #include "traninfo.h" | 32 | #include "traninfo.h" |
33 | #include "graph.h" | 33 | #include "graph.h" |
34 | #include "graphinfo.h" | 34 | #include "graphinfo.h" |
35 | #include "password.h" | 35 | #include "password.h" |
36 | 36 | ||
37 | #include <opie/otabwidget.h> | 37 | #include <opie/otabwidget.h> |
38 | #include <qpe/config.h> | ||
39 | #include <qpe/qpeapplication.h> | 38 | #include <qpe/qpeapplication.h> |
40 | #include <qpe/qpemessagebox.h> | 39 | #include <qpe/qpemessagebox.h> |
41 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
42 | 41 | ||
43 | #include <qcheckbox.h> | 42 | #include <qcheckbox.h> |
44 | #include <qcombobox.h> | 43 | #include <qcombobox.h> |
45 | #include <qfile.h> | ||
46 | #include <qfontmetrics.h> | ||
47 | #include <qlabel.h> | 44 | #include <qlabel.h> |
48 | #include <qlayout.h> | 45 | #include <qlayout.h> |
49 | #include <qlineedit.h> | 46 | #include <qlineedit.h> |
50 | #include <qmultilineedit.h> | 47 | #include <qmultilineedit.h> |
51 | #include <qpushbutton.h> | 48 | #include <qpushbutton.h> |
52 | #include <qwhatsthis.h> | 49 | #include <qwhatsthis.h> |
53 | #include <qwidget.h> | ||
54 | 50 | ||
55 | Checkbook::Checkbook( QWidget *parent, CBInfo *i, const QString &symbol ) | 51 | Checkbook::Checkbook( QWidget *parent, CBInfo *i, const QString &symbol ) |
56 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) | 52 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) |
57 | { | 53 | { |
58 | info = i; | 54 | info = i; |
59 | currencySymbol = symbol; | 55 | currencySymbol = symbol; |
60 | 56 | ||
61 | if ( info->name() != "" ) | 57 | if ( info->name() != "" ) |
62 | { | 58 | { |
63 | QString tempstr = info->name(); | 59 | QString tempstr = info->name(); |
64 | tempstr.append( " - " ); | 60 | tempstr.append( " - " ); |
65 | tempstr.append( tr( "Checkbook" ) ); | 61 | tempstr.append( tr( "Checkbook" ) ); |
diff --git a/noncore/apps/checkbook/configuration.cpp b/noncore/apps/checkbook/configuration.cpp index 37208da..7731cf3 100644 --- a/noncore/apps/checkbook/configuration.cpp +++ b/noncore/apps/checkbook/configuration.cpp | |||
@@ -20,29 +20,27 @@ | |||
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "configuration.h" | 29 | #include "configuration.h" |
30 | 30 | ||
31 | #include <qcheckbox.h> | 31 | #include <qcheckbox.h> |
32 | #include <qfontmetrics.h> | ||
33 | #include <qlabel.h> | 32 | #include <qlabel.h> |
34 | #include <qlayout.h> | 33 | #include <qlayout.h> |
35 | #include <qlineedit.h> | 34 | #include <qlineedit.h> |
36 | #include <qstring.h> | ||
37 | #include <qwhatsthis.h> | 35 | #include <qwhatsthis.h> |
38 | 36 | ||
39 | Configuration::Configuration( QWidget *parent, const QString &cs, bool sl, bool sb ) | 37 | Configuration::Configuration( QWidget *parent, const QString &cs, bool sl, bool sb ) |
40 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) | 38 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) |
41 | { | 39 | { |
42 | setCaption( tr( "Configure Checkbook" ) ); | 40 | setCaption( tr( "Configure Checkbook" ) ); |
43 | 41 | ||
44 | QFontMetrics fm = fontMetrics(); | 42 | QFontMetrics fm = fontMetrics(); |
45 | int fh = fm.height(); | 43 | int fh = fm.height(); |
46 | 44 | ||
47 | QGridLayout *layout = new QGridLayout( this ); | 45 | QGridLayout *layout = new QGridLayout( this ); |
48 | layout->setSpacing( 4 ); | 46 | layout->setSpacing( 4 ); |
diff --git a/noncore/apps/checkbook/graph.cpp b/noncore/apps/checkbook/graph.cpp index acdb846..389972e 100644 --- a/noncore/apps/checkbook/graph.cpp +++ b/noncore/apps/checkbook/graph.cpp | |||
@@ -20,26 +20,24 @@ | |||
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "graph.h" | 29 | #include "graph.h" |
30 | #include "graphinfo.h" | 30 | #include "graphinfo.h" |
31 | 31 | ||
32 | #include <qcolor.h> | ||
33 | #include <qfontmetrics.h> | ||
34 | #include <qpainter.h> | 32 | #include <qpainter.h> |
35 | 33 | ||
36 | #include <math.h> | 34 | #include <math.h> |
37 | 35 | ||
38 | Graph::Graph( QWidget *parent, GraphInfo *d, const QString &name, int flags ) | 36 | Graph::Graph( QWidget *parent, GraphInfo *d, const QString &name, int flags ) |
39 | : QWidget( parent, name, flags ) | 37 | : QWidget( parent, name, flags ) |
40 | { | 38 | { |
41 | data = d; | 39 | data = d; |
42 | 40 | ||
43 | graph.setOptimization( QPixmap::BestOptim ); | 41 | graph.setOptimization( QPixmap::BestOptim ); |
44 | } | 42 | } |
45 | 43 | ||
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp index ab1ceef..6d1d7b9 100644 --- a/noncore/apps/checkbook/mainwindow.cpp +++ b/noncore/apps/checkbook/mainwindow.cpp | |||
@@ -35,27 +35,24 @@ | |||
35 | #include <qpe/config.h> | 35 | #include <qpe/config.h> |
36 | #include <qpe/global.h> | 36 | #include <qpe/global.h> |
37 | #include <qpe/qpeapplication.h> | 37 | #include <qpe/qpeapplication.h> |
38 | #include <qpe/qpemenubar.h> | 38 | #include <qpe/qpemenubar.h> |
39 | #include <qpe/qpemessagebox.h> | 39 | #include <qpe/qpemessagebox.h> |
40 | #include <qpe/qpetoolbar.h> | 40 | #include <qpe/qpetoolbar.h> |
41 | #include <qpe/resource.h> | 41 | #include <qpe/resource.h> |
42 | 42 | ||
43 | #include <qaction.h> | 43 | #include <qaction.h> |
44 | #include <qcheckbox.h> | 44 | #include <qcheckbox.h> |
45 | #include <qdir.h> | 45 | #include <qdir.h> |
46 | #include <qlineedit.h> | 46 | #include <qlineedit.h> |
47 | #include <qlistview.h> | ||
48 | #include <qpopupmenu.h> | ||
49 | #include <qstring.h> | ||
50 | #include <qwhatsthis.h> | 47 | #include <qwhatsthis.h> |
51 | 48 | ||
52 | MainWindow::MainWindow() | 49 | MainWindow::MainWindow() |
53 | : QMainWindow( 0x0, 0x0, WStyle_ContextHelp ) | 50 | : QMainWindow( 0x0, 0x0, WStyle_ContextHelp ) |
54 | { | 51 | { |
55 | setCaption( tr( "Checkbook" ) ); | 52 | setCaption( tr( "Checkbook" ) ); |
56 | 53 | ||
57 | cbDir = Global::applicationFileName( "checkbook", "" ); | 54 | cbDir = Global::applicationFileName( "checkbook", "" ); |
58 | lockIcon = Resource::loadPixmap( "locked" ); | 55 | lockIcon = Resource::loadPixmap( "locked" ); |
59 | 56 | ||
60 | // Load configuration options | 57 | // Load configuration options |
61 | Config config( "checkbook" ); | 58 | Config config( "checkbook" ); |
diff --git a/noncore/apps/checkbook/password.cpp b/noncore/apps/checkbook/password.cpp index 82020d5..f381271 100644 --- a/noncore/apps/checkbook/password.cpp +++ b/noncore/apps/checkbook/password.cpp | |||
@@ -22,27 +22,25 @@ | |||
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "password.h" | 29 | #include "password.h" |
30 | 30 | ||
31 | #include <qlabel.h> | 31 | #include <qlabel.h> |
32 | #include <qlayout.h> | 32 | #include <qlayout.h> |
33 | #include <qlineedit.h> | 33 | #include <qlineedit.h> |
34 | #include <qpixmap.h> | ||
35 | #include <qpushbutton.h> | 34 | #include <qpushbutton.h> |
36 | #include <qwidget.h> | ||
37 | 35 | ||
38 | static const char* const showhideimage_data[] = { | 36 | static const char* const showhideimage_data[] = { |
39 | "16 16 2 1", | 37 | "16 16 2 1", |
40 | ". c None", | 38 | ". c None", |
41 | "# c #000000", | 39 | "# c #000000", |
42 | "................", | 40 | "................", |
43 | "...#...###...##.", | 41 | "...#...###...##.", |
44 | "..#.#..#..#.##..", | 42 | "..#.#..#..#.##..", |
45 | "..###..###.##...", | 43 | "..###..###.##...", |
46 | ".#...#.#..##....", | 44 | ".#...#.#..##....", |
47 | ".#...#.#.##.....", | 45 | ".#...#.#.##.....", |
48 | "........##.#..#.", | 46 | "........##.#..#.", |
diff --git a/noncore/apps/checkbook/traninfo.h b/noncore/apps/checkbook/traninfo.h index 5f67262..f6c5cae 100644 --- a/noncore/apps/checkbook/traninfo.h +++ b/noncore/apps/checkbook/traninfo.h | |||
@@ -22,25 +22,24 @@ | |||
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef TRANINFO_H | 29 | #ifndef TRANINFO_H |
30 | #define TRANINFO_H | 30 | #define TRANINFO_H |
31 | 31 | ||
32 | #include <qdatetime.h> | 32 | #include <qdatetime.h> |
33 | #include <qlist.h> | 33 | #include <qlist.h> |
34 | #include <qstring.h> | ||
35 | 34 | ||
36 | class Config; | 35 | class Config; |
37 | 36 | ||
38 | class TranInfo | 37 | class TranInfo |
39 | { | 38 | { |
40 | public: | 39 | public: |
41 | TranInfo( int = 0, const QString & = 0x0, const QDate & = QDate::currentDate(), | 40 | TranInfo( int = 0, const QString & = 0x0, const QDate & = QDate::currentDate(), |
42 | bool = TRUE, const QString & = 0x0, const QString & = 0x0, | 41 | bool = TRUE, const QString & = 0x0, const QString & = 0x0, |
43 | float = 0.0, float = 0.0, | 42 | float = 0.0, float = 0.0, |
44 | const QString & = 0x0, const QString & = 0x0 ); | 43 | const QString & = 0x0, const QString & = 0x0 ); |
45 | TranInfo( Config, int ); | 44 | TranInfo( Config, int ); |
46 | 45 | ||
diff --git a/noncore/apps/checkbook/transaction.cpp b/noncore/apps/checkbook/transaction.cpp index 17be669..07d5ae1 100644 --- a/noncore/apps/checkbook/transaction.cpp +++ b/noncore/apps/checkbook/transaction.cpp | |||
@@ -21,37 +21,32 @@ | |||
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "transaction.h" | 29 | #include "transaction.h" |
30 | #include "traninfo.h" | 30 | #include "traninfo.h" |
31 | 31 | ||
32 | #include <qpe/datebookmonth.h> | 32 | #include <qpe/datebookmonth.h> |
33 | #include <qpe/timestring.h> | ||
34 | 33 | ||
35 | #include <qbuttongroup.h> | 34 | #include <qbuttongroup.h> |
36 | #include <qcombobox.h> | 35 | #include <qcombobox.h> |
37 | #include <qlabel.h> | 36 | #include <qlabel.h> |
38 | #include <qlayout.h> | 37 | #include <qlayout.h> |
39 | #include <qlineedit.h> | 38 | #include <qlineedit.h> |
40 | #include <qmultilineedit.h> | 39 | #include <qmultilineedit.h> |
41 | #include <qpopupmenu.h> | ||
42 | #include <qpushbutton.h> | ||
43 | #include <qradiobutton.h> | 40 | #include <qradiobutton.h> |
44 | #include <qscrollview.h> | ||
45 | #include <qstring.h> | ||
46 | #include <qwhatsthis.h> | 41 | #include <qwhatsthis.h> |
47 | 42 | ||
48 | Transaction::Transaction( QWidget *parent, const QString &acctname, TranInfo *info, | 43 | Transaction::Transaction( QWidget *parent, const QString &acctname, TranInfo *info, |
49 | const QString &symbol ) | 44 | const QString &symbol ) |
50 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) | 45 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) |
51 | { | 46 | { |
52 | QString tempstr = tr( "Transaction for " ); | 47 | QString tempstr = tr( "Transaction for " ); |
53 | tempstr.append( acctname ); | 48 | tempstr.append( acctname ); |
54 | setCaption( tempstr ); | 49 | setCaption( tempstr ); |
55 | 50 | ||
56 | tran = info; | 51 | tran = info; |
57 | currencySymbol = symbol; | 52 | currencySymbol = symbol; |