• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KWin

popupinfo.h

Go to the documentation of this file.
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 This program is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 This program is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with this program.  If not, see <http://www.gnu.org/licenses/>.
00020 *********************************************************************/
00021 
00022 
00023 #ifndef KWIN_POPUPINFO_H
00024 #define KWIN_POPUPINFO_H
00025 #include <QWidget>
00026 #include <QTimer>
00027 
00028 namespace KWin
00029 {
00030 
00031 class Workspace;
00032 
00033 class PopupInfo : public QWidget
00034     {
00035     Q_OBJECT
00036     public:
00037         explicit PopupInfo( Workspace* ws, const char *name=0 );
00038         ~PopupInfo();
00039 
00040         void reset();
00041         void hide();
00042         void showInfo(const QString &infoString);
00043 
00044         void reconfigure();
00045 
00046     protected:
00047         void paintEvent( QPaintEvent* );
00048         void paintContents();
00049 
00050     private:
00051         QTimer m_delayedHideTimer;
00052         int m_delayTime;
00053         bool m_show;
00054         bool m_shown;
00055         QString m_infoString;
00056         Workspace* workspace;
00057     };
00058 
00059 } // namespace
00060 
00061 #endif

KWin

Skip menu "KWin"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal