kwin Library API Documentation

popupinfo.h

00001 /***************************************************************** 00002 KWin - the KDE window manager 00003 This file is part of the KDE project. 00004 00005 Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> 00006 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org> 00007 00008 You can Freely distribute this program under the GNU General Public 00009 License. See the file "COPYING" for the exact licensing terms. 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 } // namespace 00049 00050 #endif
KDE Logo
This file is part of the documentation for kwin Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Aug 31 00:02:14 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003