summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/editor.h
authorzecke <zecke>2003-02-22 22:59:37 (UTC)
committer zecke <zecke>2003-02-22 22:59:37 (UTC)
commit47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c (patch) (unidiff)
tree034af2ca8bb5ee3e0b751739f9f9a9fbcc241530 /core/pim/datebook2/editor.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/editor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/editor.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/core/pim/datebook2/editor.h b/core/pim/datebook2/editor.h
new file mode 100644
index 0000000..53e8718
--- a/dev/null
+++ b/core/pim/datebook2/editor.h
@@ -0,0 +1,36 @@
1#ifndef OPIE_DATEBOOK_EDITOR_H
2#define OPIE_DATEBOOK_EDITOR_H
3
4#include <qdialog.h>
5
6#include <opie/oevent.h>
7
8#include "descriptionmanager.h"
9#include "locationmanager.h"
10
11namespace Datebook {
12 class MainWindow;
13 /**
14 * This is the editor interface
15 */
16 class Editor {
17 public:
18 Editor( MainWindow*, QWidget* parent );
19 virtual Editor();
20
21 bool newEvent( const QDate& );
22 bool newEvent( const QDateTime& start, const QDateTime& end );
23 bool edit( const OEvent& );
24
25 OEvent event()const;
26
27 protected:
28 DescriptionManager descriptions()const;
29 LocationManager locations()const;
30 void setDescriptions( const DescriptionManager& );
31 void setLocations( const LocationManager& );
32
33 };
34}
35
36#endif