author | zecke <zecke> | 2003-02-24 13:34:03 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-24 13:34:03 (UTC) |
commit | b04ced09167d910e5cab1981bde295e2e8185fee (patch) (unidiff) | |
tree | 2623e1553968654b133343ce7333995243216201 /core/pim/datebook2/stringmanager.h | |
parent | cfecfd53c433a3b530e4abcef51e81feae3c8641 (diff) | |
download | opie-b04ced09167d910e5cab1981bde295e2e8185fee.zip opie-b04ced09167d910e5cab1981bde295e2e8185fee.tar.gz opie-b04ced09167d910e5cab1981bde295e2e8185fee.tar.bz2 |
Add Implementation for Templates, Locations, Descriptions
add some more stuff
Diffstat (limited to 'core/pim/datebook2/stringmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook2/stringmanager.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/pim/datebook2/stringmanager.h b/core/pim/datebook2/stringmanager.h index ac0d4bd..2eee43f 100644 --- a/core/pim/datebook2/stringmanager.h +++ b/core/pim/datebook2/stringmanager.h | |||
@@ -4,8 +4,9 @@ | |||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | 5 | ||
6 | #include "managertemplate.h" | 6 | #include "managertemplate.h" |
7 | 7 | ||
8 | class QListView; | ||
8 | namespace Datebook { | 9 | namespace Datebook { |
9 | /** | 10 | /** |
10 | * StringManager is a generic manager | 11 | * StringManager is a generic manager |
11 | * whick keeps track of strings | 12 | * whick keeps track of strings |
@@ -24,12 +25,13 @@ namespace Datebook { | |||
24 | * override the add implementation | 25 | * override the add implementation |
25 | * cause we do not have a value :) | 26 | * cause we do not have a value :) |
26 | */ | 27 | */ |
27 | void add( const QString& ); | 28 | void add( const QString& ); |
29 | bool load(); | ||
30 | bool save(); | ||
31 | QString baseName()const; | ||
28 | private: | 32 | private: |
29 | QString m_base; | 33 | QString m_base; |
30 | bool doLoad(); | ||
31 | bool doSave(); | ||
32 | }; | 34 | }; |
33 | 35 | ||
34 | /** | 36 | /** |
35 | * A Generic Editor for StringManager | 37 | * A Generic Editor for StringManager |
@@ -40,8 +42,16 @@ namespace Datebook { | |||
40 | StringManagerDialog( const StringManager&); | 42 | StringManagerDialog( const StringManager&); |
41 | ~StringManagerDialog(); | 43 | ~StringManagerDialog(); |
42 | 44 | ||
43 | StringManager manager()const; | 45 | StringManager manager()const; |
46 | private slots: | ||
47 | void init( const StringManager& ); | ||
48 | void slotAdd(); | ||
49 | void slotRemove(); | ||
50 | void slotRename(); | ||
51 | private: | ||
52 | QListView* m_view; | ||
53 | QString m_base; | ||
44 | }; | 54 | }; |
45 | } | 55 | } |
46 | 56 | ||
47 | #endif | 57 | #endif |