#ifndef ALARMDIALOG_H
#define ALARMDIALOG_H
// $Id: alarmdialog.h,v 1.4 2001/04/18 23:28:57 cschumac Exp $
//
// Alarm dialog.
//

#include <kdialogbase.h>

#include <event.h>

using namespace KCal;

class KOEventViewer;
class QSpinBox;

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

    void appendEvent(Event *event);

    void eventNotification();

    void clearEvents();

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

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

    QSpinBox *mSuspendSpin;
};

#endif
