summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/preferences.h
authorchicken <chicken>2004-11-02 18:23:35 (UTC)
committer chicken <chicken>2004-11-02 18:23:35 (UTC)
commit029fc220470de74b7c1a148c9ea934c17686149f (patch) (unidiff)
tree115de8edc9142615b31d906770cb7978190e7af8 /noncore/apps/qashmoney/preferences.h
parentebdc2d346272bae27c867b855207993985df4450 (diff)
downloadopie-029fc220470de74b7c1a148c9ea934c17686149f.zip
opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.gz
opie-029fc220470de74b7c1a148c9ea934c17686149f.tar.bz2
switching to sqlite3
Diffstat (limited to 'noncore/apps/qashmoney/preferences.h') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/preferences.h4
1 files changed, 2 insertions, 2 deletions
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,7 +1,7 @@
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
5#define PREFERENCES_H 5#define PREFERENCES_H
6 6
7class Preferences 7class Preferences
@@ -26,13 +26,13 @@ class Preferences
26 // Changes a preference for the given ID 26 // Changes a preference for the given ID
27 void changePreference ( int , int ); 27 void changePreference ( int , int );
28 void changeColumnPreference ( int id, int width ); 28 void changeColumnPreference ( int id, int width );
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
36 QString getDate ( int, int, int ); 36 QString getDate ( int, int, int );
37 QString getDate ( int y, int m ); 37 QString getDate ( int y, int m );
38 38