You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kbiff/kbiff/notify.h

47 lines
787 B

/*
* 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
{
Q_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