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