summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookevent.h
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookevent.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookevent.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/core/pim/today/plugins/datebook/datebookevent.h b/core/pim/today/plugins/datebook/datebookevent.h
index 7b0371a..f8a9c03 100644
--- a/core/pim/today/plugins/datebook/datebookevent.h
+++ b/core/pim/today/plugins/datebook/datebookevent.h
@@ -26,21 +26,22 @@ class DateBookEvent: public OClickableLabel {
26 Q_OBJECT 26 Q_OBJECT
27 27
28public: 28public:
29 DateBookEvent(const EffectiveEvent &ev, 29 DateBookEvent( const EffectiveEvent &ev,
30 QWidget* parent = 0, 30 QWidget* parent = 0,
31 bool show_location = 0, 31 bool show_location = 0,
32 bool show_notes = 0, 32 bool show_notes = 0,
33 int maxCharClip = 0, 33 int maxCharClip = 0,
34 const char* name = 0, 34 const char* name = 0,
35 WFlags fl = 0); 35 WFlags fl = 0 );
36signals: 36signals:
37 void editEvent(const Event &e); 37 void editEvent( const Event &e );
38private slots: 38private slots:
39 void editEventSlot(const Event &e); 39 void editEventSlot( const Event &e );
40 void editMe(); 40 void editMe();
41private: 41private:
42 DateBookDB *db; 42 DateBookDB *db;
43 QString ampmTime(QTime); 43 QString ampmTime( QTime );
44 QString differDate( QDate date );
44 const EffectiveEvent event; 45 const EffectiveEvent event;
45 bool ampm; 46 bool ampm;
46}; 47};