author | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
commit | 7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (side-by-side diff) | |
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 @@ -#ifndef TRANSFER_H -#define TRANSFER_H - -#include <qlistview.h> -#include <qstring.h> -#include <sqlite3.h> -#include <qdatetime.h> - -#include "preferences.h" - -class Transfer - { - public: - - Transfer (); - ~Transfer (); - - // This function adds a new transfer to the database. It takes the fromaccount, toaccount, - // number, frombudget, tobudget, day, month, year, amount, cleared - void addTransfer ( int fromaccount, int fromparent, int toaccount, int toparent, int day, int month, int year, float amount, int cleared ); - void updateTransfer ( int fromaccount, int fromparent, int toaccount, int toparent, int day, int month, int year, float amount, int cleared, int transferid ); - - // Deletes a transfer. Takes the transferid as its parameter - void deleteTransfer ( int ); - - // Deletes all transfers for a given accountid - void deleteAllTransfers ( int accountid ); - - // Returns the number of checking transfers - int getNumberOfTransfers (); - int getNumberOfTransfers ( int accountid ); - - void displayTransfers ( QListView *listview, int accountid, bool children, QDate displaydate ); - int getCleared ( int id ); - void setCleared ( int id, int cleared ); - int getFromAccountID ( int id ); - int getToAccountID ( int id ); - - int getDay ( int id ); - int getMonth ( int id ); - int getYear ( int id ); - QString getAmount ( int id ); - - private: - - sqlite3 *db; - }; - -#endif - - - |