summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/checkbook.h
authordrw <drw>2002-11-30 18:22:59 (UTC)
committer drw <drw>2002-11-30 18:22:59 (UTC)
commit197b74a6193151cca8b7f5f725fb19098cb76eb2 (patch) (side-by-side diff)
treed2a3e190c3d404ba952c7645eb195de58e2b2d2e /noncore/apps/checkbook/checkbook.h
parent6afb59b5950c8fdd24dc93ac4ee370a3c8437f9a (diff)
downloadopie-197b74a6193151cca8b7f5f725fb19098cb76eb2.zip
opie-197b74a6193151cca8b7f5f725fb19098cb76eb2.tar.gz
opie-197b74a6193151cca8b7f5f725fb19098cb76eb2.tar.bz2
Made checkbook transaction list prettier & updated contact info
Diffstat (limited to 'noncore/apps/checkbook/checkbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/checkbook.h24
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 @@
/*
                This file is part of the OPIE Project
=.
-             .=l. Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
+             .=l. Copyright (c) 2002 Dan Williams <drw@handhelds.org>
           .>+-=
 _;:,     .>    :=|. This file is free software; you can
.> <`_,   >  .   <= redistribute it and/or modify it under
@@ -32,6 +32,7 @@
#include "traninfo.h"
#include <qdialog.h>
+#include <qlistview.h>
class OTabWidget;
@@ -65,7 +66,7 @@ class Checkbook : public QDialog
OTabWidget *mainWidget;
void loadCheckbook();
void adjustBalance( float );
- TranInfo *findTranByID( int );
+ TranInfo *findTran( const QString &, const QString &, const QString & );
// Info tab
QWidget *initInfo();
@@ -105,4 +106,23 @@ class Checkbook : public QDialog
void slotDrawGraph();
};
+class CBListItem : public QListViewItem
+{
+ //Q_OBJECT
+
+ public:
+ CBListItem( QListView *, QString = QString::null, QString = QString::null,
+ QString = QString::null, QString = QString::null, QString = QString::null,
+ QString = QString::null, QString = QString::null, QString = QString::null );
+
+ void paintCell( QPainter *, const QColorGroup &, int, int, int );
+
+ private:
+ QListView *owner;
+ bool m_known;
+ bool m_odd;
+
+ bool isAltBackground();
+};
+
#endif