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 | |
parent | ebdc2d346272bae27c867b855207993985df4450 (diff) | |
download | opie-029fc220470de74b7c1a148c9ea934c17686149f.zip opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.gz opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.bz2 |
switching to sqlite3
-rwxr-xr-x | noncore/apps/qashmoney/account.h | 4 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/budget.h | 4 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/memory.h | 4 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/preferences.h | 4 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/qashmoney.pro | 2 | ||||
-rwxr-xr-x | noncore/apps/qashmoney/transaction.h | 4 |
6 files changed, 11 insertions, 11 deletions
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 <qstring.h> #include <qlistview.h> #include <qcombobox.h> -#include <sqlite.h> +#include <sqlite3.h> 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 <qstring.h> #include <qstringlist.h> #include <qlistview.h> -#include <sqlite.h> +#include <sqlite3.h> 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 <qstring.h> #include <qlistbox.h> #include <qcombobox.h> -#include <sqlite.h> +#include <sqlite3.h> 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 <sqlite.h> +#include <sqlite3.h> #include <qstring.h> #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 <qstring.h> #include <qlistview.h> #include <qdatetime.h> -#include <sqlite.h> +#include <sqlite3.h> #include "preferences.h" @@ -63,7 +63,7 @@ class Transaction private: - sqlite *tdb; + sqlite3 *tdb; int rows, columns; }; |