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.
47 lines
1.5 KiB
47 lines
1.5 KiB
/***************************************************************************
|
|
kshowmaildock.h - description
|
|
-------------------
|
|
begin : Wed Jan 3 2001
|
|
copyright : (C) 2001 by Eggert Ehmke
|
|
email : eggert.ehmke@berlin.de
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef KSHOWMAILDOCK_H
|
|
#define KSHOWMAILDOCK_H
|
|
|
|
#include <tqwidget.h>
|
|
#include <tqpixmap.h>
|
|
#include <ksystemtray.h>
|
|
#include <tdeaction.h>
|
|
|
|
/**
|
|
*@author Eggert Ehmke
|
|
*/
|
|
|
|
class KShowMailDock : public KSystemTray
|
|
{
|
|
TQ_OBJECT
|
|
public:
|
|
KShowMailDock(TQWidget*, TDEAction *actionRefresh );
|
|
~KShowMailDock() {};
|
|
void drawText (const TQString str, const TQColor& color);
|
|
void drawNumber (int n, const TQColor& color);
|
|
void clear ();
|
|
signals:
|
|
void sigActivated(int);
|
|
void sigHighlighted(int);
|
|
private:
|
|
TQPixmap m_background;
|
|
};
|
|
|
|
#endif
|