summaryrefslogtreecommitdiffstats
path: root/kwin/popupinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/popupinfo.h')
-rw-r--r--kwin/popupinfo.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/kwin/popupinfo.h b/kwin/popupinfo.h
new file mode 100644
index 000000000..11936fcfb
--- /dev/null
+++ b/kwin/popupinfo.h
@@ -0,0 +1,50 @@
+/*****************************************************************
+ KWin - the KDE window manager
+ This file is part of the KDE project.
+
+Copyright (C) 1999, 2000 Matthias Ettrich <[email protected]>
+Copyright (C) 2003 Lubos Lunak <[email protected]>
+
+You can Freely distribute this program under the GNU General Public
+License. See the file "COPYING" for the exact licensing terms.
+******************************************************************/
+
+#ifndef KWIN_POPUPINFO_H
+#define KWIN_POPUPINFO_H
+#include <qwidget.h>
+#include <qtimer.h>
+#include <qvaluelist.h>
+
+namespace KWinInternal
+{
+
+class Workspace;
+
+class PopupInfo : public QWidget
+ {
+ Q_OBJECT
+ public:
+ PopupInfo( const char *name=0 );
+ ~PopupInfo();
+
+ void reset();
+ void hide();
+ void showInfo(QString infoString);
+
+ void reconfigure();
+
+ protected:
+ void paintEvent( QPaintEvent* );
+ void paintContents();
+
+ private:
+ QTimer m_delayedHideTimer;
+ int m_delayTime;
+ bool m_show;
+ bool m_shown;
+ QString m_infoString;
+ };
+
+} // namespace
+
+#endif