From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kget/kget_plug_in/links.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kget/kget_plug_in/links.cpp') diff --git a/kget/kget_plug_in/links.cpp b/kget/kget_plug_in/links.cpp index 12600353..b1410cef 100644 --- a/kget/kget_plug_in/links.cpp +++ b/kget/kget_plug_in/links.cpp @@ -24,17 +24,17 @@ LinkItem::LinkItem( DOM::Element link ) // somehow getElementsByTagName("#text") doesn't work :( - DOM::NodeList children = link.childNodes(); - for ( uint i = 0; i < children.length(); i++ ) + DOM::NodeList tqchildren = link.childNodes(); + for ( uint i = 0; i < tqchildren.length(); i++ ) { - DOM::Node node = children.item( i ); + DOM::Node node = tqchildren.item( i ); if ( node.nodeType() == DOM::Node::TEXT_NODE ) text.append( node.nodeValue().string() ); } // force "local file" mimetype determination KMimeType::Ptr mt = KMimeType::findByURL( url, 0, true, true); - icon = mt->icon( TQString::null, false ); // dummy parameters + icon = mt->icon( TQString(), false ); // dummy parameters mimeType = mt->comment(); m_valid = true; -- cgit v1.2.1