Diffstat (limited to 'noncore/apps/qashmoney/transaction.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/transaction.h b/noncore/apps/qashmoney/transaction.h index 7297bb1..5871555 100755 --- a/noncore/apps/qashmoney/transaction.h +++ b/noncore/apps/qashmoney/transaction.h | |||
@@ -36,35 +36,38 @@ class Transaction | |||
36 | void deleteAllTransactions ( int accountid ); | 36 | void deleteAllTransactions ( int accountid ); |
37 | 37 | ||
38 | QString getBudgetTotal ( int budgetid, int lineitemid, int year, int month, int viewtype ); | 38 | QString getBudgetTotal ( int budgetid, int lineitemid, int year, int month, int viewtype ); |
39 | QString getActualTotal ( int budgetid, int year, int month, int viewtype ); | 39 | QString getActualTotal ( int budgetid, int year, int month, int viewtype ); |
40 | 40 | ||
41 | // These two functions clear budget ids is either a line item or an entire budget is deleted | 41 | // These two functions clear budget ids is either a line item or an entire budget is deleted |
42 | void clearBudgetIDs ( int, int ); | 42 | void clearBudgetIDs ( int, int ); |
43 | void clearBudgetIDs ( int ); | 43 | void clearBudgetIDs ( int ); |
44 | 44 | ||
45 | public slots: | 45 | public slots: |
46 | 46 | ||
47 | void displayTransactions ( QListView *, int, bool, const char *, QDate ); | 47 | void displayTransactions ( QListView *, int, bool, const char *, QDate ); |
48 | char ** selectAllTransactions ( QDate fromdate, bool children, const char *limit, int id ); | ||
49 | char ** selectNonClearedTransactions ( QDate fromdate, bool children, const char *limit, int id ); | ||
48 | QString getPayee ( int ); | 50 | QString getPayee ( int ); |
49 | QString getTransactionDescription ( int ); | 51 | QString getTransactionDescription ( int ); |
50 | QString getNumber ( int ); | 52 | QString getNumber ( int ); |
51 | QString getAmount ( int ); | 53 | QString getAmount ( int ); |
52 | QString getAbsoluteAmount ( int ); | 54 | QString getAbsoluteAmount ( int ); |
53 | int getCleared ( int ); | 55 | int getCleared ( int ); |
54 | void setCleared ( int id, int cleared ); | 56 | void setCleared ( int id, int cleared ); |
55 | int getBudgetID ( int id ); | 57 | int getBudgetID ( int id ); |
56 | int getLineItemID ( int id ); | 58 | int getLineItemID ( int id ); |
57 | int getDay ( int ); | 59 | int getDay ( int ); |
58 | int getMonth ( int ); | 60 | int getMonth ( int ); |
59 | int getYear ( int ); | 61 | int getYear ( int ); |
60 | int getAccountID ( int id ); | 62 | int getAccountID ( int id ); |
61 | 63 | ||
62 | private: | 64 | private: |
63 | 65 | ||
64 | sqlite *tdb; | 66 | sqlite *tdb; |
67 | int rows, columns; | ||
65 | }; | 68 | }; |
66 | 69 | ||
67 | #endif | 70 | #endif |
68 | 71 | ||
69 | 72 | ||
70 | 73 | ||