#ifndef ALARMDIALOG_H
#define ALARMDIALOG_H
// $Id: alarmdialog.h,v 1.2 2000/09/07 15:30:30 cschumac Exp $
//
// Alarm dialog.
//

#include <kdialogbase.h>

class KOEvent;
class KOEventViewer;
class QSpinBox;

class AlarmDialog : public KDialogBase {
    Q_OBJECT
  public:
    AlarmDialog(QWidget *parent=0,const char *name=0);
    virtual ~AlarmDialog();

    void appendEvent(KOEvent *event);

    void eventNotification();

    void clearEvents();

  public slots:
    void slotOk();
    void slotUser1();

  signals:
    void suspendSignal(int duration);
    
  private:
    KOEventViewer *mEventViewer;
    
    QList<KOEvent> mEvents;

    QSpinBox *mSuspendSpin;
};

#endif
