4001642ec3
"We strongly recommend that all subclasses of QObject use the Q_OBJECT macro regardless of whether they actually use signals, slots and properties or not." svn path=/trunk/kdebase/kwin/; revision=239883
32 lines
538 B
C++
32 lines
538 B
C++
/*
|
|
* $Id$
|
|
* Window Geometry Display
|
|
* Copyright (c) 2003, Karol Szwed <kszwed@kde.org>
|
|
*/
|
|
|
|
#ifndef KWIN_GEOMETRY_TIP_H
|
|
#define KWIN_GEOMETRY_TIP_H
|
|
|
|
#include <qlabel.h>
|
|
#include "client.h"
|
|
|
|
namespace KWinInternal {
|
|
|
|
class GeometryTip: public QLabel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GeometryTip( const Client* client, const XSizeHints* xSizeHints, bool resizing );
|
|
~GeometryTip();
|
|
void setGeometry( const QRect& geom );
|
|
|
|
private:
|
|
const XSizeHints* sizeHints;
|
|
const Client* c;
|
|
int framewidth;
|
|
int frameheight;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|