From 029fc220470de74b7c1a148c9ea934c17686149f Mon Sep 17 00:00:00 2001 From: chicken Date: Tue, 02 Nov 2004 18:23:35 +0000 Subject: switching to sqlite3 --- diff --git a/noncore/apps/qashmoney/account.h b/noncore/apps/qashmoney/account.h index f77f400..5bad4a1 100755 --- a/noncore/apps/qashmoney/account.h +++ b/noncore/apps/qashmoney/account.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include class Account { @@ -80,7 +80,7 @@ class Account float getAccountCreditLimit ( int ); // The primary database that stores all our data - sqlite *adb; + sqlite3 *adb; }; class GreyBackgroundItem : public QListViewItem 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 @@ -4,7 +4,7 @@ #include #include #include -#include +#include class Budget { @@ -38,7 +38,7 @@ class Budget float getLineItemAmount ( int budgetid, int lineitemid ); private: - sqlite *bdb; + sqlite3 *bdb; }; #endif diff --git a/noncore/apps/qashmoney/memory.h b/noncore/apps/qashmoney/memory.h index 6f3f100..6e8ae46 100755 --- a/noncore/apps/qashmoney/memory.h +++ b/noncore/apps/qashmoney/memory.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include class Memory : public QObject { @@ -33,7 +33,7 @@ class Memory : public QObject void displayMemoryItems ( QComboBox * ); // The primary database that stores all our data - sqlite *db; + sqlite3 *db; public slots: diff --git a/noncore/apps/qashmoney/preferences.h b/noncore/apps/qashmoney/preferences.h index 10ec6e9..38579ad 100755 --- a/noncore/apps/qashmoney/preferences.h +++ b/noncore/apps/qashmoney/preferences.h @@ -1,4 +1,4 @@ -#include +#include #include #ifndef PREFERENCES_H @@ -29,7 +29,7 @@ class Preferences void changeSortingPreference ( int id, int column ); // The primary database that stores all our data - sqlite *db; + sqlite3 *db; // This function returns a Qstring for the year first date formats // for displaying. It takes the date numbers diff --git a/noncore/apps/qashmoney/qashmoney.pro b/noncore/apps/qashmoney/qashmoney.pro index 4222a25..faa898b 100755 --- a/noncore/apps/qashmoney/qashmoney.pro +++ b/noncore/apps/qashmoney/qashmoney.pro @@ -43,7 +43,7 @@ TARGET = qashmoney DESTDIR = $(OPIEDIR)/bin unix:LIBS += -lm -LIBS += -lqpe -lopiecore2 -lsqlite +LIBS += -lqpe -lopiecore2 -lsqlite3 include ( $(OPIEDIR)/include.pro ) diff --git a/noncore/apps/qashmoney/transaction.h b/noncore/apps/qashmoney/transaction.h index 5871555..3df43a8 100755 --- a/noncore/apps/qashmoney/transaction.h +++ b/noncore/apps/qashmoney/transaction.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include "preferences.h" @@ -63,7 +63,7 @@ class Transaction private: - sqlite *tdb; + sqlite3 *tdb; int rows, columns; }; -- cgit v0.9.0.2