summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/preferences.h
Unidiff
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,13 +1,13 @@
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
8 { 8 {
9 public: 9 public:
10 Preferences (); 10 Preferences ();
11 ~Preferences (); 11 ~Preferences ();
12 12
13 void addPreferences (); 13 void addPreferences ();
@@ -20,25 +20,25 @@ class Preferences
20 void getSortingPreference ( int id, int *column, int *direction ); 20 void getSortingPreference ( int id, int *column, int *direction );
21 21
22 // Convenience for getting date separator with one function 22 // Convenience for getting date separator with one function
23 // call. Takes the preference id as its argument 23 // call. Takes the preference id as its argument
24 QString getSeparator ( ); 24 QString getSeparator ( );
25 25
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
39 void setDefaultDatePreferences (); 39 void setDefaultDatePreferences ();
40 }; 40 };
41 41
42#endif 42#endif
43 43
44 44