author | zecke <zecke> | 2003-02-24 13:34:03 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-24 13:34:03 (UTC) |
commit | b04ced09167d910e5cab1981bde295e2e8185fee (patch) (side-by-side diff) | |
tree | 2623e1553968654b133343ce7333995243216201 /core/pim/datebook2/editor.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
-rw-r--r-- | core/pim/datebook2/editor.h | 13 |
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 @@ -16,13 +16,13 @@ namespace Datebook { class Editor { public: Editor( MainWindow*, QWidget* parent ); - virtual Editor(); + virtual ~Editor(); - bool newEvent( const QDate& ); - bool newEvent( const QDateTime& start, const QDateTime& end ); - bool edit( const OEvent& ); + virtual bool newEvent( const QDate& ) = 0; + virtual bool newEvent( const QDateTime& start, const QDateTime& end ) = 0; + virtual bool edit( const OEvent&, bool showRec = TRUE ) = 0; - OEvent event()const; + virtual OEvent event()const = 0; protected: DescriptionManager descriptions()const; @@ -30,6 +30,9 @@ namespace Datebook { void setDescriptions( const DescriptionManager& ); void setLocations( const LocationManager& ); + private: + MainWindow* m_win; + }; } |