summaryrefslogtreecommitdiffstats
path: root/kbiff/notify.h
blob: 37e2df46346276269ad3f33e85e01ccb5f424d05 (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 <ntqdialog.h>
#include <ntqstring.h>

class TQLabel;

class KBiffNotify : public TQDialog
{
	TQ_OBJECT
public:
	KBiffNotify(TQWidget *parent, const int num_new, const TQString& mailbx);
	virtual ~KBiffNotify();

	const TQString getMailbox() { return mailbox; }
	int newMessages() { return messages; }

	void setNew(const int num_new);

signals:
    void signalLaunchMailClient();

protected slots:
	void slotLaunchMailClient();

protected:
	TQString mailbox;
	TQLabel* msgLabel;
	int     messages;
};

#endif // KBIFFNOTIFY_H