summaryrefslogtreecommitdiff
authorchicken <chicken>2004-11-02 18:23:35 (UTC)
committer chicken <chicken>2004-11-02 18:23:35 (UTC)
commit029fc220470de74b7c1a148c9ea934c17686149f (patch) (unidiff)
tree115de8edc9142615b31d906770cb7978190e7af8
parentebdc2d346272bae27c867b855207993985df4450 (diff)
downloadopie-029fc220470de74b7c1a148c9ea934c17686149f.zip
opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.gz
opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.bz2
switching to sqlite3
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/account.h4
-rwxr-xr-xnoncore/apps/qashmoney/budget.h4
-rwxr-xr-xnoncore/apps/qashmoney/memory.h4
-rwxr-xr-xnoncore/apps/qashmoney/preferences.h4
-rwxr-xr-xnoncore/apps/qashmoney/qashmoney.pro2
-rwxr-xr-xnoncore/apps/qashmoney/transaction.h4
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 @@
4#include <qstring.h> 4#include <qstring.h>
5#include <qlistview.h> 5#include <qlistview.h>
6#include <qcombobox.h> 6#include <qcombobox.h>
7#include <sqlite.h> 7#include <sqlite3.h>
8 8
9class Account 9class Account
10 { 10 {
@@ -80,7 +80,7 @@ class Account
80 float getAccountCreditLimit ( int ); 80 float getAccountCreditLimit ( int );
81 81
82 // The primary database that stores all our data 82 // The primary database that stores all our data
83 sqlite *adb; 83 sqlite3 *adb;
84 }; 84 };
85 85
86class GreyBackgroundItem : public QListViewItem 86class 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 @@
4#include <qstring.h> 4#include <qstring.h>
5#include <qstringlist.h> 5#include <qstringlist.h>
6#include <qlistview.h> 6#include <qlistview.h>
7#include <sqlite.h> 7#include <sqlite3.h>
8 8
9class Budget 9class Budget
10 { 10 {
@@ -38,7 +38,7 @@ class Budget
38 float getLineItemAmount ( int budgetid, int lineitemid ); 38 float getLineItemAmount ( int budgetid, int lineitemid );
39 39
40 private: 40 private:
41 sqlite *bdb; 41 sqlite3 *bdb;
42 }; 42 };
43 43
44#endif 44#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 @@
4#include <qstring.h> 4#include <qstring.h>
5#include <qlistbox.h> 5#include <qlistbox.h>
6#include <qcombobox.h> 6#include <qcombobox.h>
7#include <sqlite.h> 7#include <sqlite3.h>
8 8
9class Memory : public QObject 9class Memory : public QObject
10 { 10 {
@@ -33,7 +33,7 @@ class Memory : public QObject
33 void displayMemoryItems ( QComboBox * ); 33 void displayMemoryItems ( QComboBox * );
34 34
35 // The primary database that stores all our data 35 // The primary database that stores all our data
36 sqlite *db; 36 sqlite3 *db;
37 37
38 public slots: 38 public slots:
39 39
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 @@
1#include <sqlite.h> 1#include <sqlite3.h>
2#include <qstring.h> 2#include <qstring.h>
3 3
4#ifndef PREFERENCES_H 4#ifndef PREFERENCES_H
@@ -29,7 +29,7 @@ class Preferences
29 void changeSortingPreference ( int id, int column ); 29 void changeSortingPreference ( int id, int column );
30 30
31 // The primary database that stores all our data 31 // The primary database that stores all our data
32 sqlite *db; 32 sqlite3 *db;
33 33
34 // This function returns a Qstring for the year first date formats 34 // This function returns a Qstring for the year first date formats
35 // for displaying. It takes the date numbers 35 // 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
43DESTDIR = $(OPIEDIR)/bin 43DESTDIR = $(OPIEDIR)/bin
44 44
45unix:LIBS += -lm 45unix:LIBS += -lm
46LIBS += -lqpe -lopiecore2 -lsqlite 46LIBS += -lqpe -lopiecore2 -lsqlite3
47 47
48include ( $(OPIEDIR)/include.pro ) 48include ( $(OPIEDIR)/include.pro )
49 49
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 @@
4#include <qstring.h> 4#include <qstring.h>
5#include <qlistview.h> 5#include <qlistview.h>
6#include <qdatetime.h> 6#include <qdatetime.h>
7#include <sqlite.h> 7#include <sqlite3.h>
8 8
9#include "preferences.h" 9#include "preferences.h"
10 10
@@ -63,7 +63,7 @@ class Transaction
63 63
64 private: 64 private:
65 65
66 sqlite *tdb; 66 sqlite3 *tdb;
67 int rows, columns; 67 int rows, columns;
68 }; 68 };
69 69