summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/stringmanager.h
authorzecke <zecke>2003-02-22 22:59:37 (UTC)
committer zecke <zecke>2003-02-22 22:59:37 (UTC)
commit47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c (patch) (side-by-side diff)
tree034af2ca8bb5ee3e0b751739f9f9a9fbcc241530 /core/pim/datebook2/stringmanager.h
parent00c146960fa7fd05dc56fac2a24b3d7968a4a772 (diff)
downloadopie-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.h46
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 @@
+#ifndef OPIE_STRING_DATEBOOK_MANAGER_H
+#define OPIE_STRING_DATEBOOK_MANAGER_H
+
+#include <qstring.h>
+
+#include "managertemplate.h"
+
+namespace Datebook {
+ /**
+ * StringManager is a generic manager
+ * whick keeps track of strings
+ * It'll be used with the Location
+ * and the Description Manager
+ */
+ class StringManager : public ManagerTemplate<QString> {
+ public:
+ /**
+ * baseName is used for storing
+ */
+ StringManager(const QString& baseName);
+ ~StringManager();
+
+ /**
+ * override the add implementation
+ * cause we do not have a value :)
+ */
+ void add( const QString& );
+ private:
+ void doLoad();
+ void doSave();
+ };
+
+ /**
+ * A Generic Editor for StringManager
+ */
+ class StringManagerDialog : public QDialog {
+ Q_OBJECT
+ public:
+ StringManagerDialog( const StringManager& );
+ ~StringManager();
+
+ StringManager manager()const;
+ };
+}
+
+#endif