summaryrefslogtreecommitdiffstats
path: root/kwin/popupinfo.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kwin/popupinfo.h
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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