author | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
commit | 7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (unidiff) | |
tree | e76604c6af3da9c19b69dcdcf8105d58bac63f71 /noncore/apps/qashmoney/transfer.h | |
parent | cd2d50799e087fad5b56df9d7fe9aa572a313e64 (diff) | |
download | opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.zip opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.gz opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.bz2 |
opie-qashmoney is now unsupported
Diffstat (limited to 'noncore/apps/qashmoney/transfer.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/transfer.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/noncore/apps/qashmoney/transfer.h b/noncore/apps/qashmoney/transfer.h deleted file mode 100755 index cec3386..0000000 --- a/noncore/apps/qashmoney/transfer.h +++ b/dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | #ifndef TRANSFER_H | ||
2 | #define TRANSFER_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | #include <qstring.h> | ||
6 | #include <sqlite3.h> | ||
7 | #include <qdatetime.h> | ||
8 | |||
9 | #include "preferences.h" | ||
10 | |||
11 | class Transfer | ||
12 | { | ||
13 | public: | ||
14 | |||
15 | Transfer (); | ||
16 | ~Transfer (); | ||
17 | |||
18 | // This function adds a new transfer to the database. It takes the fromaccount, toaccount, | ||
19 | // number, frombudget, tobudget, day, month, year, amount, cleared | ||
20 | void addTransfer ( int fromaccount, int fromparent, int toaccount, int toparent, int day, int month, int year, float amount, int cleared ); | ||
21 | void updateTransfer ( int fromaccount, int fromparent, int toaccount, int toparent, int day, int month, int year, float amount, int cleared, int transferid ); | ||
22 | |||
23 | // Deletes a transfer. Takes the transferid as its parameter | ||
24 | void deleteTransfer ( int ); | ||
25 | |||
26 | // Deletes all transfers for a given accountid | ||
27 | void deleteAllTransfers ( int accountid ); | ||
28 | |||
29 | // Returns the number of checking transfers | ||
30 | int getNumberOfTransfers (); | ||
31 | int getNumberOfTransfers ( int accountid ); | ||
32 | |||
33 | void displayTransfers ( QListView *listview, int accountid, bool children, QDate displaydate ); | ||
34 | int getCleared ( int id ); | ||
35 | void setCleared ( int id, int cleared ); | ||
36 | int getFromAccountID ( int id ); | ||
37 | int getToAccountID ( int id ); | ||
38 | |||
39 | int getDay ( int id ); | ||
40 | int getMonth ( int id ); | ||
41 | int getYear ( int id ); | ||
42 | QString getAmount ( int id ); | ||
43 | |||
44 | private: | ||
45 | |||
46 | sqlite3 *db; | ||
47 | }; | ||
48 | |||
49 | #endif | ||
50 | |||
51 | |||
52 | |||