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/factory/domtool.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kommander/factory/domtool.cpp') diff --git a/kommander/factory/domtool.cpp b/kommander/factory/domtool.cpp index 0bd7088c..e532dc10 100644 --- a/kommander/factory/domtool.cpp +++ b/kommander/factory/domtool.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 @@ -328,7 +328,7 @@ static bool toBool( const TQString& s ) } /*! - Convert Qt 2.x format to Qt 3.0 format if necessary + Convert TQt 2.x format to TQt 3.0 format if necessary */ void DomTool::fixDocument( TQDomDocument& doc ) { @@ -360,9 +360,9 @@ void DomTool::fixDocument( TQDomDocument& doc ) bool stdset = toBool( e.attribute( "stdset" ) ); if ( stdset || name == "toolTip" || name == "whatsThis" || name == "buddy" || - e.parentNode().toElement().tagName() == "item" || - e.parentNode().toElement().tagName() == "spacer" || - e.parentNode().toElement().tagName() == "column" + e.tqparentNode().toElement().tagName() == "item" || + e.tqparentNode().toElement().tagName() == "spacer" || + e.tqparentNode().toElement().tagName() == "column" ) e.removeAttribute( "stdset" ); else -- cgit v1.2.1