author | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
commit | 7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (unidiff) | |
tree | e76604c6af3da9c19b69dcdcf8105d58bac63f71 /noncore/apps/qashmoney/preferences.h | |
parent | cd2d50799e087fad5b56df9d7fe9aa572a313e64 (diff) | |
download | opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.zip opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.gz opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.bz2 |
opie-qashmoney is now unsupported
Diffstat (limited to 'noncore/apps/qashmoney/preferences.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/preferences.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/noncore/apps/qashmoney/preferences.h b/noncore/apps/qashmoney/preferences.h deleted file mode 100755 index 38579ad..0000000 --- a/noncore/apps/qashmoney/preferences.h +++ b/dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | #include <sqlite3.h> | ||
2 | #include <qstring.h> | ||
3 | |||
4 | #ifndef PREFERENCES_H | ||
5 | #define PREFERENCES_H | ||
6 | |||
7 | class Preferences | ||
8 | { | ||
9 | public: | ||
10 | Preferences (); | ||
11 | ~Preferences (); | ||
12 | |||
13 | void addPreferences (); | ||
14 | void initializeColumnPreferences (); | ||
15 | void initializeSortingPreferences (); | ||
16 | |||
17 | // Returns a preference value for the given preferences ID | ||
18 | int getPreference ( int ); | ||
19 | int getColumnPreference ( int id ); | ||
20 | void getSortingPreference ( int id, int *column, int *direction ); | ||
21 | |||
22 | // Convenience for getting date separator with one function | ||
23 | // call. Takes the preference id as its argument | ||
24 | QString getSeparator ( ); | ||
25 | |||
26 | // Changes a preference for the given ID | ||
27 | void changePreference ( int , int ); | ||
28 | void changeColumnPreference ( int id, int width ); | ||
29 | void changeSortingPreference ( int id, int column ); | ||
30 | |||
31 | // The primary database that stores all our data | ||
32 | sqlite3 *db; | ||
33 | |||
34 | // This function returns a Qstring for the year first date formats | ||
35 | // for displaying. It takes the date numbers | ||
36 | QString getDate ( int, int, int ); | ||
37 | QString getDate ( int y, int m ); | ||
38 | |||
39 | void setDefaultDatePreferences (); | ||
40 | }; | ||
41 | |||
42 | #endif | ||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||