summaryrefslogtreecommitdiffstats
path: root/kbiff/notify.h
blob: d31949b352f9988d8df111252c5ae11c838de158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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