diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 100dcb6968ca22bfa52836ad55eb4f01225791db (patch) | |
tree | 9d11b082bf3241003cd8f325270def346e980fd3 /plugins/rssfeed | |
parent | 15dca2cc45947fde92cfda1c4c1e84b8b8a21f46 (diff) | |
download | ktorrent-100dcb6968ca22bfa52836ad55eb4f01225791db.tar.gz ktorrent-100dcb6968ca22bfa52836ad55eb4f01225791db.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/rssfeed')
-rw-r--r-- | plugins/rssfeed/rss/document.cpp | 14 | ||||
-rw-r--r-- | plugins/rssfeed/rssfeedwidget.ui | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/rssfeed/rss/document.cpp b/plugins/rssfeed/rss/document.cpp index f2e3763..812338a 100644 --- a/plugins/rssfeed/rss/document.cpp +++ b/plugins/rssfeed/rss/document.cpp @@ -153,24 +153,24 @@ Document::Document(const TQDomDocument &doc) : d(new Private) /* This is ugly but necessary since RSS 0.90 and 1.0 have a different tqparent * node for <image>, <textinput> and <item> than RSS 0.91-0.94 and RSS 2.0. */ - TQDomNode tqparentNode; + TQDomNode parentNode; if (d->version == v0_90 || d->version == v1_0 || d->format == AtomFeed) - tqparentNode = rootNode; + parentNode = rootNode; else { // following is a HACK for broken 0.91 feeds like xanga.com's if (!rootNode.namedItem(TQString::tqfromLatin1("item")).isNull()) - tqparentNode = rootNode; + parentNode = rootNode; else - tqparentNode = channelNode; + parentNode = channelNode; } // image and textinput aren't supported by Atom.. handle in case feed provides - TQDomNode n = tqparentNode.namedItem(TQString::tqfromLatin1("image")); + TQDomNode n = parentNode.namedItem(TQString::tqfromLatin1("image")); if (!n.isNull()) d->image = new Image(n); - n = tqparentNode.namedItem(TQString::tqfromLatin1("textinput")); + n = parentNode.namedItem(TQString::tqfromLatin1("textinput")); if (!n.isNull()) d->textInput = new TextInput(n); @@ -181,7 +181,7 @@ Document::Document(const TQDomDocument &doc) : d(new Private) else tagName=TQString::tqfromLatin1("item"); - for (n = tqparentNode.firstChild(); !n.isNull(); n = n.nextSibling()) { + for (n = parentNode.firstChild(); !n.isNull(); n = n.nextSibling()) { const TQDomElement e = n.toElement(); if (e.tagName() == tagName) d->articles.append(Article(e, d->format)); diff --git a/plugins/rssfeed/rssfeedwidget.ui b/plugins/rssfeed/rssfeedwidget.ui index 2a4b014..5cd8e89 100644 --- a/plugins/rssfeed/rssfeedwidget.ui +++ b/plugins/rssfeed/rssfeedwidget.ui @@ -958,7 +958,7 @@ <slot>setEnabled(bool)</slot> </connection> </connections> -<tqlayoutdefaults spacing="2" margin="2"/> +<layoutdefaults spacing="2" margin="2"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> |