author | zecke <zecke> | 2003-02-22 22:59:37 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-22 22:59:37 (UTC) |
commit | 47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c (patch) (unidiff) | |
tree | 034af2ca8bb5ee3e0b751739f9f9a9fbcc241530 /core/pim/datebook2/stringmanager.h | |
parent | 00c146960fa7fd05dc56fac2a24b3d7968a4a772 (diff) | |
download | opie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.zip opie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.tar.gz opie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.tar.bz2 |
import the new layout/design of datebook
sorry this was not put into a branch
and once its done it'll replace datebook and be put
into that subdir.
but currently I want both versions available so I can test...
So by design it'll feature
Showing BirthDays
Showing Due and OVerDue Todos
Better AllDay handling
Pinning Events to TimeZones
Exceptions to Recurrence
Diffstat (limited to 'core/pim/datebook2/stringmanager.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook2/stringmanager.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/core/pim/datebook2/stringmanager.h b/core/pim/datebook2/stringmanager.h new file mode 100644 index 0000000..a11bd2a --- a/dev/null +++ b/core/pim/datebook2/stringmanager.h | |||
@@ -0,0 +1,46 @@ | |||
1 | #ifndef OPIE_STRING_DATEBOOK_MANAGER_H | ||
2 | #define OPIE_STRING_DATEBOOK_MANAGER_H | ||
3 | |||
4 | #include <qstring.h> | ||
5 | |||
6 | #include "managertemplate.h" | ||
7 | |||
8 | namespace Datebook { | ||
9 | /** | ||
10 | * StringManager is a generic manager | ||
11 | * whick keeps track of strings | ||
12 | * It'll be used with the Location | ||
13 | * and the Description Manager | ||
14 | */ | ||
15 | class StringManager : public ManagerTemplate<QString> { | ||
16 | public: | ||
17 | /** | ||
18 | * baseName is used for storing | ||
19 | */ | ||
20 | StringManager(const QString& baseName); | ||
21 | ~StringManager(); | ||
22 | |||
23 | /** | ||
24 | * override the add implementation | ||
25 | * cause we do not have a value :) | ||
26 | */ | ||
27 | void add( const QString& ); | ||
28 | private: | ||
29 | void doLoad(); | ||
30 | void doSave(); | ||
31 | }; | ||
32 | |||
33 | /** | ||
34 | * A Generic Editor for StringManager | ||
35 | */ | ||
36 | class StringManagerDialog : public QDialog { | ||
37 | Q_OBJECT | ||
38 | public: | ||
39 | StringManagerDialog( const StringManager& ); | ||
40 | ~StringManager(); | ||
41 | |||
42 | StringManager manager()const; | ||
43 | }; | ||
44 | } | ||
45 | |||
46 | #endif | ||