author | kergoth <kergoth> | 2002-09-15 17:23:20 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-09-15 17:23:20 (UTC) |
commit | 9bd6edd077df796677c9d069200172f930ac1304 (patch) (unidiff) | |
tree | 3b473d4280249b5ade8e5276758cc8f9aa3c2822 /noncore/apps/checkbook/qcheckview.h | |
parent | 33ec9ead7ce30bf9450b9048506f0bda49ba4791 (diff) | |
download | opie-9bd6edd077df796677c9d069200172f930ac1304.zip opie-9bd6edd077df796677c9d069200172f930ac1304.tar.gz opie-9bd6edd077df796677c9d069200172f930ac1304.tar.bz2 |
Reverting to checkbook in its previous state, hopefully i got everything.
Diffstat (limited to 'noncore/apps/checkbook/qcheckview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/qcheckview.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/qcheckview.h b/noncore/apps/checkbook/qcheckview.h new file mode 100644 index 0000000..840dc8b --- a/dev/null +++ b/noncore/apps/checkbook/qcheckview.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #include "qcheckviewbase.h" | ||
2 | #include "qrestrictedline.h" | ||
3 | #include "qcheckentry.h" | ||
4 | #include "qcheckdetails.h" | ||
5 | |||
6 | #include <qstring.h> | ||
7 | #include "config.h" | ||
8 | #include <qtable.h> | ||
9 | #include <qpoint.h> | ||
10 | #include <qlayout.h> | ||
11 | |||
12 | class QCheckView : public QCheckViewBase | ||
13 | { | ||
14 | Q_OBJECT | ||
15 | public: | ||
16 | QCheckView(QWidget *, QString filename); | ||
17 | void load(const QString filename); | ||
18 | private: | ||
19 | Config *config; | ||
20 | QString calculator(QString largervalue, QString smallervalue, bool subtract); | ||
21 | int lastSortCol; | ||
22 | bool ascend; | ||
23 | QCheckDetails *qcd; | ||
24 | QString m_filename; | ||
25 | private slots: | ||
26 | // void entryActivated(int); | ||
27 | void newClicked(); | ||
28 | void tableClicked(int, int, int, const QPoint &mousePos); | ||
29 | void editClicked(int, int); | ||
30 | void deleteClicked(int, int); | ||
31 | signals: | ||
32 | void reload(const QString &filename); | ||
33 | }; | ||