summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/editor.h
Unidiff
Diffstat (limited to 'core/pim/datebook2/editor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/editor.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/datebook2/editor.h b/core/pim/datebook2/editor.h
index 53e8718..3fcfaa4 100644
--- a/core/pim/datebook2/editor.h
+++ b/core/pim/datebook2/editor.h
@@ -13,24 +13,27 @@ namespace Datebook {
13 /** 13 /**
14 * This is the editor interface 14 * This is the editor interface
15 */ 15 */
16 class Editor { 16 class Editor {
17 public: 17 public:
18 Editor( MainWindow*, QWidget* parent ); 18 Editor( MainWindow*, QWidget* parent );
19 virtual Editor(); 19 virtual ~Editor();
20 20
21 bool newEvent( const QDate& ); 21 virtual bool newEvent( const QDate& ) = 0;
22 bool newEvent( const QDateTime& start, const QDateTime& end ); 22 virtual bool newEvent( const QDateTime& start, const QDateTime& end ) = 0;
23 bool edit( const OEvent& ); 23 virtual bool edit( const OEvent&, bool showRec = TRUE ) = 0;
24 24
25 OEvent event()const; 25 virtual OEvent event()const = 0;
26 26
27 protected: 27 protected:
28 DescriptionManager descriptions()const; 28 DescriptionManager descriptions()const;
29 LocationManager locations()const; 29 LocationManager locations()const;
30 void setDescriptions( const DescriptionManager& ); 30 void setDescriptions( const DescriptionManager& );
31 void setLocations( const LocationManager& ); 31 void setLocations( const LocationManager& );
32 32
33 private:
34 MainWindow* m_win;
35
33 }; 36 };
34} 37}
35 38
36#endif 39#endif