-rw-r--r-- | korganizer/calendarview.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h index 05a34b4..1eca905 100644 --- a/korganizer/calendarview.h +++ b/korganizer/calendarview.h @@ -80,6 +80,24 @@ using namespace KCal; @short main calendar view widget @author Cornelius Schumacher */ + +#include <qtextbrowser.h> +#include <qtextcodec.h> + +class MissedAlarmTextBrowser : public QTextBrowser { + Q_OBJECT + public: + MissedAlarmTextBrowser(QWidget *parent, QPtrList<Incidence> alarms ,QDateTime start); + void setSource(const QString & n); + + private: + Incidence * getNextInc(QDateTime start ); + QPtrList<Incidence> mAlarms; + signals: + void showIncidence( QString uid); +}; + + class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Observer, public KSyncInterface { Q_OBJECT @@ -176,6 +194,7 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser public slots: + void checkAlarms(); void slotprintSelInc(); void showNextAlarms(); void showOpenError(); @@ -240,6 +259,7 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser /** Create a read-only viewer dialog for the supplied incidence. It calls the correct showXXX method*/ void showIncidence(Incidence *); + void showIncidence(QString uid); /** Create an editor for the supplied incidence. It calls the correct editXXX method*/ void editIncidence(Incidence *); /** Delete the supplied incidence. It calls the correct deleteXXX method*/ |