kwin
popupinfo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef KWIN_POPUPINFO_H
00013 #define KWIN_POPUPINFO_H
00014 #include <tqwidget.h>
00015 #include <tqtimer.h>
00016 #include <tqvaluelist.h>
00017
00018 namespace KWinInternal
00019 {
00020
00021 class Workspace;
00022
00023 class PopupInfo : public TQWidget
00024 {
00025 Q_OBJECT
00026 public:
00027 PopupInfo( Workspace* ws, const char *name=0 );
00028 ~PopupInfo();
00029
00030 void reset();
00031 void hide();
00032 void showInfo(TQString infoString);
00033
00034 void reconfigure();
00035
00036 protected:
00037 void paintEvent( TQPaintEvent* );
00038 void paintContents();
00039
00040 private:
00041 TQTimer m_delayedHideTimer;
00042 int m_delayTime;
00043 bool m_show;
00044 bool m_shown;
00045 TQString m_infoString;
00046 Workspace* workspace;
00047 };
00048
00049 }
00050
00051 #endif