KWin
geometrytip.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) 2003, Karol Szwed <kszwed@kde.org> 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 *********************************************************************/ 00020 00021 #ifndef KWIN_GEOMETRY_TIP_H 00022 #define KWIN_GEOMETRY_TIP_H 00023 00024 #include <QLabel> 00025 #include "client.h" 00026 00027 namespace KWin 00028 { 00029 00030 class GeometryTip: public QLabel 00031 { 00032 Q_OBJECT 00033 public: 00034 GeometryTip( const XSizeHints* xSizeHints, bool save_under ); 00035 ~GeometryTip(); 00036 void setGeometry( const QRect& geom ); 00037 00038 private: 00039 const XSizeHints* sizeHints; 00040 }; 00041 00042 } // namespace 00043 00044 #endif