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 | dfb7562b7e607f0ae077a6a436966203029df56d (patch) | |
tree | d58abf870c3754458d44a192a0b9e186f506c4ed /akregator/src/librss | |
parent | fc5197ec86abe5dc0fa4b48979684845b52357f2 (diff) | |
download | tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.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/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/librss')
-rw-r--r-- | akregator/src/librss/document.cpp | 14 | ||||
-rw-r--r-- | akregator/src/librss/tools_p.cpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/librss/document.cpp b/akregator/src/librss/document.cpp index 696802ec7..bc10f8a31 100644 --- a/akregator/src/librss/document.cpp +++ b/akregator/src/librss/document.cpp @@ -186,24 +186,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); @@ -214,7 +214,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, d->version)); diff --git a/akregator/src/librss/tools_p.cpp b/akregator/src/librss/tools_p.cpp index 9c18fcaeb..72058fa05 100644 --- a/akregator/src/librss/tools_p.cpp +++ b/akregator/src/librss/tools_p.cpp @@ -186,7 +186,7 @@ static void authorFromString(const TQString& strp, TQString& name, TQString& ema // after removing the email, str might have // the format "(Foo M. Bar)". We cut off - // tqparentheses if there are any. However, if + // parentheses if there are any. However, if // str is of the format "Foo M. Bar (President)", // we should not cut anything. |