-rw-r--r-- | core/pim/today/today.h | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 090e8f9..d265d67 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h @@ -29,3 +29,3 @@ #include <qdatetime.h> -#include <qlist.h> +#include <qlist.h> @@ -38,8 +38,8 @@ class QVBoxLayout; class Today : public TodayBase { - Q_OBJECT - - public: - Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~Today(); - + Q_OBJECT + + public: + Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~Today(); + private slots: @@ -60,5 +60,5 @@ class Today : public TodayBase { void setOwnerField(QString &string); - private slots: - void channelReceived(const QCString &msg, const QByteArray & data); - + private slots: + void channelReceived(const QCString &msg, const QByteArray & data); + private: @@ -72,3 +72,3 @@ class Today : public TodayBase { int MAX_LINES_MEET; - int SHOW_LOCATION; + int SHOW_LOCATION; int SHOW_NOTES; @@ -79,8 +79,8 @@ class DateBookEvent: public ClickableLabel { public: - DateBookEvent(const EffectiveEvent &ev, - QWidget* parent = 0, - int SHOW_LOCATION = 0, - int SHOW_NOTES = 0, - const char* name = 0, - WFlags fl = 0); + DateBookEvent(const EffectiveEvent &ev, + QWidget* parent = 0, + int SHOW_LOCATION = 0, + int SHOW_NOTES = 0, + const char* name = 0, + WFlags fl = 0); signals: @@ -90,3 +90,5 @@ private slots: private: + QString ampmTime(QTime); const EffectiveEvent event; + bool ampm; }; @@ -96,3 +98,3 @@ class DateBookEventLater: public ClickableLabel { public: - DateBookEventLater(const EffectiveEvent &ev, + DateBookEventLater(const EffectiveEvent &ev, QWidget* parent = 0, @@ -100,3 +102,3 @@ public: int SHOW_NOTES = 0, - const char* name = 0, + const char* name = 0, WFlags fl = 0); @@ -107,3 +109,5 @@ private slots: private: + QString ampmTime(QTime); const EffectiveEvent event; + bool ampm; }; |