diff options
Diffstat (limited to 'kbiff/notify.h')
-rw-r--r-- | kbiff/notify.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kbiff/notify.h b/kbiff/notify.h new file mode 100644 index 0000000..d31949b --- /dev/null +++ b/kbiff/notify.h @@ -0,0 +1,46 @@ +/* + * notify.h + * Copyright (C) 1999 Kurt Granroth <granroth@kde.org> + * + * This file contains the declaration of the KBiffNotify + * widget. + * + * $Id$ + */ +#ifndef KBIFFNOTIFY_H +#define KBIFFNOTIFY_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <qdialog.h> +#include <qstring.h> + +class QLabel; + +class KBiffNotify : public QDialog +{ + Q_OBJECT +public: + KBiffNotify(QWidget *parent, const int num_new, const QString& mailbx); + virtual ~KBiffNotify(); + + const QString getMailbox() { return mailbox; } + int newMessages() { return messages; } + + void setNew(const int num_new); + +signals: + void signalLaunchMailClient(); + +protected slots: + void slotLaunchMailClient(); + +protected: + QString mailbox; + QLabel* msgLabel; + int messages; +}; + +#endif // KBIFFNOTIFY_H |