diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/geometrytip.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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.cpp | 8 |
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 x %d</b>)", geom.x(), geom.y(), w, h ); setText( pos ); |