From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/orderindicator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kommander/editor/orderindicator.cpp') diff --git a/kommander/editor/orderindicator.cpp b/kommander/editor/orderindicator.cpp index fee29150..056601b8 100644 --- a/kommander/editor/orderindicator.cpp +++ b/kommander/editor/orderindicator.cpp @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** -** This file is part of Qt Designer. +** This file is part of TQt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software @@ -63,7 +63,7 @@ void OrderIndicator::setOrder( int i, TQWidget* wid ) TQFont f( font() ); f.setBold( true ); setFont( f ); - resize( QMAX( w, h ), h ); + resize( TQMAX( w, h ), h ); update(); // in case the size didn't change reposition(); show(); @@ -72,7 +72,7 @@ void OrderIndicator::setOrder( int i, TQWidget* wid ) void OrderIndicator::reposition() { - TQPoint p =parentWidget()->mapFromGlobal( widget->mapToGlobal( widget->rect().topLeft() ) ); + TQPoint p =tqparentWidget()->mapFromGlobal( widget->mapToGlobal( widget->rect().topLeft() ) ); move( p - TQPoint( width()/3, height()/3 ) ); } -- cgit v1.2.1