diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-02 18:32:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-02 18:32:11 +0200 |
commit | 5ec5bc2080bbc41e025fb98e6571a2c281b775cb (patch) | |
tree | a73cf2c57d306e6ce092996f70b29b8fbc0a006b /kbiff/notify.h | |
download | kbiff-5ec5bc2080bbc41e025fb98e6571a2c281b775cb.tar.gz kbiff-5ec5bc2080bbc41e025fb98e6571a2c281b775cb.zip |
Initial import
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 |