/***************************************************************************
                          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 <qwidget.h>
#include <qpixmap.h>
#include <ksystemtray.h>
#include <kaction.h>

/**
  *@author Eggert Ehmke
  */

class KShowMailDock : public KSystemTray
{
  Q_OBJECT
public:
	KShowMailDock(QWidget*, KAction *actionRefresh );
	~KShowMailDock() {};
  void drawText (const QString str, const QColor& color);
  void drawNumber (int n, const QColor& color);
  void clear ();
signals:
	void sigActivated(int);
	void sigHighlighted(int);
private:
  QPixmap m_background;
};

#endif
