author | chicken <chicken> | 2004-11-02 18:23:35 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-11-02 18:23:35 (UTC) |
commit | 029fc220470de74b7c1a148c9ea934c17686149f (patch) (side-by-side diff) | |
tree | 115de8edc9142615b31d906770cb7978190e7af8 /noncore/apps/qashmoney/budget.h | |
parent | ebdc2d346272bae27c867b855207993985df4450 (diff) | |
download | opie-029fc220470de74b7c1a148c9ea934c17686149f.zip opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.gz opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.bz2 |
switching to sqlite3
Diffstat (limited to 'noncore/apps/qashmoney/budget.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/budget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/qashmoney/budget.h b/noncore/apps/qashmoney/budget.h index 16af26a..f82e048 100755 --- a/noncore/apps/qashmoney/budget.h +++ b/noncore/apps/qashmoney/budget.h @@ -1,45 +1,45 @@ #ifndef BUDGET_H #define BUDGET_H #include <qstring.h> #include <qstringlist.h> #include <qlistview.h> -#include <sqlite.h> +#include <sqlite3.h> class Budget { public: Budget (); ~Budget (); int addBudget ( QString name, int type, QString description, QString currency, int startday, int startmonth, int startyear, int endday, int endmonth, int endyear, int defaultview ); void updateBudget ( QString name, QString description, QString currency, int budgetid ); void deleteBudget ( int budgetid ); int getNumberOfBudgets (); int getNumberOfLineItems ( int budgetid ); QStringList* getBudgetNames (); QStringList* getBudgetIDs (); QStringList getLineItems ( int budgetid ); QStringList getLineItemIDs ( int budgetid ); QString getBudgetName ( int budgetid ); QString getBudgetDescription ( int budgetid ); QString getCurrency ( int budgetid ); QString getBudgetTotal ( int budgetid, int viewtype ); int getLastAdded (); int addLineItem ( int budgetid, QString lineitemname, float lineitemamount, int lineitemtype ); void updateLineItem ( QString lineitemname, float lineitemamount, int lineitemtype, int budgetid, int lineitemid ); void displayLineItems ( int budgetid, QListView *listview, int month, int year, int viewtype ); void deleteLineItem ( int budgetid, int lineitemid ); int getLineItemTime ( int budgetid, int lineitemid ); float getLineItemAmount ( int budgetid, int lineitemid ); private: - sqlite *bdb; + sqlite3 *bdb; }; #endif |