Diffstat (limited to 'noncore/apps/checkbook/checkbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/checkbook.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/checkbook.h b/noncore/apps/checkbook/checkbook.h index 287788a..0260b43 100644 --- a/noncore/apps/checkbook/checkbook.h +++ b/noncore/apps/checkbook/checkbook.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | This file is part of the OPIE Project |
3 | =. | 3 | =. |
4 | .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org> | 4 | .=l. Copyright (c) 2002 Dan Williams <drw@handhelds.org> |
5 | .>+-= | 5 | .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 6 | _;:, .> :=|. This file is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .> <`_, > . <= redistribute it and/or modify it under |
@@ -32,6 +32,7 @@ | |||
32 | #include "traninfo.h" | 32 | #include "traninfo.h" |
33 | 33 | ||
34 | #include <qdialog.h> | 34 | #include <qdialog.h> |
35 | #include <qlistview.h> | ||
35 | 36 | ||
36 | class OTabWidget; | 37 | class OTabWidget; |
37 | 38 | ||
@@ -65,7 +66,7 @@ class Checkbook : public QDialog | |||
65 | OTabWidget *mainWidget; | 66 | OTabWidget *mainWidget; |
66 | void loadCheckbook(); | 67 | void loadCheckbook(); |
67 | void adjustBalance( float ); | 68 | void adjustBalance( float ); |
68 | TranInfo *findTranByID( int ); | 69 | TranInfo *findTran( const QString &, const QString &, const QString & ); |
69 | 70 | ||
70 | // Info tab | 71 | // Info tab |
71 | QWidget *initInfo(); | 72 | QWidget *initInfo(); |
@@ -105,4 +106,23 @@ class Checkbook : public QDialog | |||
105 | void slotDrawGraph(); | 106 | void slotDrawGraph(); |
106 | }; | 107 | }; |
107 | 108 | ||
109 | class CBListItem : public QListViewItem | ||
110 | { | ||
111 | //Q_OBJECT | ||
112 | |||
113 | public: | ||
114 | CBListItem( QListView *, QString = QString::null, QString = QString::null, | ||
115 | QString = QString::null, QString = QString::null, QString = QString::null, | ||
116 | QString = QString::null, QString = QString::null, QString = QString::null ); | ||
117 | |||
118 | void paintCell( QPainter *, const QColorGroup &, int, int, int ); | ||
119 | |||
120 | private: | ||
121 | QListView *owner; | ||
122 | bool m_known; | ||
123 | bool m_odd; | ||
124 | |||
125 | bool isAltBackground(); | ||
126 | }; | ||
127 | |||
108 | #endif | 128 | #endif |