kshowmaildock.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kshowmaildock.h  -  description
00003                              -------------------
00004     begin                : Wed Jan 3 2001
00005     copyright            : (C) 2001 by Eggert Ehmke
00006     email                : eggert.ehmke@berlin.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KSHOWMAILDOCK_H
00019 #define KSHOWMAILDOCK_H
00020 
00021 #include <qwidget.h>
00022 #include <qpixmap.h>
00023 #include <ksystemtray.h>
00024 #include <kaction.h>
00025 
00030 class KShowMailDock : public KSystemTray
00031 {
00032   Q_OBJECT
00033 public:
00034         KShowMailDock(QWidget*, KAction *actionRefresh );
00035         ~KShowMailDock() {};
00036   void drawText (const QString str, const QColor& color);
00037   void drawNumber (int n, const QColor& color);
00038   void clear ();
00039 signals:
00040         void sigActivated(int);
00041         void sigHighlighted(int);
00042 private:
00043   QPixmap m_background;
00044 };
00045 
00046 #endif

Generated on Tue Apr 1 21:59:49 2008 for kshowmail.kdevelop by  doxygen 1.5.0