29 #include <tqdatetime.h>
31 #include <kdialogbase.h>
33 #include <libkcal/event.h>
45 class AlarmDialog : public KDialogBase {
49 explicit AlarmDialog( CalendarResources *calendar, TQWidget *parent = 0, const char *name = 0 );
53 void addIncidence( Incidence *incidence, const TQDateTime &reminderAt,
54 const TQString &displayText );
55 void eventNotification();
70 void dismissCurrent();
76 void slotCalendarChanged();
79 void reminderCount( int count );
86 void closeEvent( TQCloseEvent * );
90 static TQDateTime triggerDateForIncidence( Incidence *inc,
91 const TQDateTime &reminderAt,
92 TQString &displayStr );
96 AlarmListItem *searchByUid( const TQString &uid );
97 bool ensureKorganizerRunning() const;
100 TQValueList<AlarmListItem*> selectedItems() const;
103 TDEListView *mIncidenceListView;
106 TQSpinBox *mSuspendSpin;
107 TQSplitter *mSplitter;
108 KComboBox *mSuspendUnit;
109 TQTimer mSuspendTimer;
Viewer widget for events.
|