Diffstat (limited to 'noncore/apps/qashmoney/preferences.h') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/preferences.h | 4 |
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 @@ -#include <sqlite.h> +#include <sqlite3.h> #include <qstring.h> #ifndef PREFERENCES_H #define PREFERENCES_H class Preferences { public: Preferences (); ~Preferences (); void addPreferences (); @@ -20,25 +20,25 @@ class Preferences void getSortingPreference ( int id, int *column, int *direction ); // Convenience for getting date separator with one function // call. Takes the preference id as its argument QString getSeparator ( ); // Changes a preference for the given ID void changePreference ( int , int ); void changeColumnPreference ( int id, int width ); 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 QString getDate ( int, int, int ); QString getDate ( int y, int m ); void setDefaultDatePreferences (); }; #endif |