summaryrefslogtreecommitdiffstats
path: root/kwin/geometrytip.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/geometrytip.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/geometrytip.cpp')
-rw-r--r--kwin/geometrytip.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/geometrytip.cpp b/kwin/geometrytip.cpp
index c8a046950..8577abfbc 100644
--- a/kwin/geometrytip.cpp
+++ b/kwin/geometrytip.cpp
@@ -14,12 +14,12 @@ namespace KWinInternal
{
GeometryTip::GeometryTip( const XSizeHints* xSizeHints, bool save_under ):
- QLabel(NULL, "kwingeometry" )
+ TQLabel(NULL, "kwingeometry" )
{
setMargin(1);
setIndent(0);
setLineWidth(1);
- setFrameStyle( QFrame::Raised | QFrame::StyledPanel );
+ setFrameStyle( TQFrame::Raised | TQFrame::StyledPanel );
setAlignment( AlignCenter | AlignTop );
sizeHints = xSizeHints;
if( save_under )
@@ -34,7 +34,7 @@ GeometryTip::~GeometryTip()
{
}
-void GeometryTip::setGeometry( const QRect& geom )
+void GeometryTip::setGeometry( const TQRect& geom )
{
int w = geom.width();
int h = geom.height();
@@ -49,7 +49,7 @@ void GeometryTip::setGeometry( const QRect& geom )
}
h = QMAX( h, 0 ); // in case of isShade() and PBaseSize
- QString pos;
+ TQString pos;
pos.sprintf( "%+d,%+d<br>(<b>%d&nbsp;x&nbsp;%d</b>)",
geom.x(), geom.y(), w, h );
setText( pos );