# 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 <ntqwidget.h>
    00022 #include <ntqpixmap.h>
    00023 #include <ksystemtray.h>
    00024 #include <tdeaction.h>
    00025
    00030 class KShowMailDock : public KSystemTray
    00031 {
    00032   TQ_OBJECT
    00033 public:
    00034         KShowMailDock(TQWidget*, TDEAction *actionRefresh );
    00035         ~KShowMailDock() {};
    00036   void drawText (const TQString str, const TQColor& color);
    00037   void drawNumber (int n, const TQColor& color);
    00038   void clear ();
    00039 signals:
    00040         void sigActivated(int);
    00041         void sigHighlighted(int);
    00042 private:
    00043   TQPixmap m_background;
    00044 };
    00045
    00046 #endif