diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:58:08 -0600 |
commit | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch) | |
tree | e24fdc0514249de1233dd5dc07f09d07a35f4269 /kget/kget_plug_in | |
parent | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff) | |
download | tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kget/kget_plug_in')
-rw-r--r-- | kget/kget_plug_in/kget_linkview.cpp | 2 | ||||
-rw-r--r-- | kget/kget_plug_in/links.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kget/kget_plug_in/kget_linkview.cpp b/kget/kget_plug_in/kget_linkview.cpp index 69a3cfc1..938ad205 100644 --- a/kget/kget_plug_in/kget_linkview.cpp +++ b/kget/kget_plug_in/kget_linkview.cpp @@ -139,7 +139,7 @@ void KGetLinkView::slotStartLeech() void KGetLinkView::setPageURL( const TQString& url ) { - setPlainCaption( i18n( "Links in: %1 - KGet" ).tqarg( url ) ); + setPlainCaption( i18n( "Links in: %1 - KGet" ).arg( url ) ); } void KGetLinkView::slotSelectAll() diff --git a/kget/kget_plug_in/links.cpp b/kget/kget_plug_in/links.cpp index b1410cef..38392ea0 100644 --- a/kget/kget_plug_in/links.cpp +++ b/kget/kget_plug_in/links.cpp @@ -24,10 +24,10 @@ LinkItem::LinkItem( DOM::Element link ) // somehow getElementsByTagName("#text") doesn't work :( - DOM::NodeList tqchildren = link.childNodes(); - for ( uint i = 0; i < tqchildren.length(); i++ ) + DOM::NodeList children = link.childNodes(); + for ( uint i = 0; i < children.length(); i++ ) { - DOM::Node node = tqchildren.item( i ); + DOM::Node node = children.item( i ); if ( node.nodeType() == DOM::Node::TEXT_NODE ) text.append( node.nodeValue().string() ); } |