summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/links.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kget/kget_plug_in/links.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
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
Diffstat (limited to 'kget/kget_plug_in/links.cpp')
-rw-r--r--kget/kget_plug_in/links.cpp8
1 files changed, 4 insertions, 4 deletions
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;