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 @@ -2,12 +2,13 @@ #define OPIE_STRING_DATEBOOK_MANAGER_H #include <qstring.h> #include "managertemplate.h" +class QListView; namespace Datebook { /** * StringManager is a generic manager * whick keeps track of strings * It'll be used with the Location * and the Description Manager @@ -22,26 +23,35 @@ namespace Datebook { /** * override the add implementation * cause we do not have a value :) */ void add( const QString& ); + bool load(); + bool save(); + QString baseName()const; private: QString m_base; - bool doLoad(); - bool doSave(); }; /** * A Generic Editor for StringManager */ class StringManagerDialog : public QDialog { Q_OBJECT public: StringManagerDialog( const StringManager&); ~StringManagerDialog(); StringManager manager()const; + private slots: + void init( const StringManager& ); + void slotAdd(); + void slotRemove(); + void slotRename(); + private: + QListView* m_view; + QString m_base; }; } #endif |