summaryrefslogtreecommitdiffstats
path: root/akregator/src/librss
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /akregator/src/librss
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/librss')
-rw-r--r--akregator/src/librss/article.cpp4
-rw-r--r--akregator/src/librss/article.h4
-rw-r--r--akregator/src/librss/document.cpp2
-rw-r--r--akregator/src/librss/tools_p.cpp12
-rw-r--r--akregator/src/librss/tools_p.h6
5 files changed, 14 insertions, 14 deletions
diff --git a/akregator/src/librss/article.cpp b/akregator/src/librss/article.cpp
index 14e0bb125..59949244b 100644
--- a/akregator/src/librss/article.cpp
+++ b/akregator/src/librss/article.cpp
@@ -261,9 +261,9 @@ TQString Article::meta(const TQString &key) const
return d->meta[key];
}
-KURLLabel *Article::widget(TQWidget *tqparent, const char *name) const
+KURLLabel *Article::widget(TQWidget *parent, const char *name) const
{
- KURLLabel *label = new KURLLabel(d->link.url(), d->title, tqparent, name);
+ KURLLabel *label = new KURLLabel(d->link.url(), d->title, parent, name);
label->setUseTips(true);
if (!d->description.isNull())
label->setTipText(d->description);
diff --git a/akregator/src/librss/article.h b/akregator/src/librss/article.h
index 833b224a4..7656eeeda 100644
--- a/akregator/src/librss/article.h
+++ b/akregator/src/librss/article.h
@@ -145,7 +145,7 @@ namespace RSS
TQString meta(const TQString &key) const;
/**
- * @param tqparent The tqparent widget for the KURLLabel.
+ * @param parent The parent widget for the KURLLabel.
* @param name A name for the widget which will be used internally.
* @return a widget (a KURLLabel in this case) for the Article.
* This makes building a user-interface which contains the
@@ -158,7 +158,7 @@ namespace RSS
* Note that you have to delete the KURLLabel object returned by
* this method yourself.
*/
- KURLLabel *widget(TQWidget *tqparent = 0, const char *name = 0) const;
+ KURLLabel *widget(TQWidget *parent = 0, const char *name = 0) const;
typedef TQMap<TQString, TQString> MetaInfoMap;
diff --git a/akregator/src/librss/document.cpp b/akregator/src/librss/document.cpp
index bc10f8a31..610cec4c8 100644
--- a/akregator/src/librss/document.cpp
+++ b/akregator/src/librss/document.cpp
@@ -183,7 +183,7 @@ Document::Document(const TQDomDocument &doc) : d(new Private)
d->link = extractLink(channelNode, d->format);
- /* This is ugly but necessary since RSS 0.90 and 1.0 have a different tqparent
+ /* This is ugly but necessary since RSS 0.90 and 1.0 have a different parent
* node for <image>, <textinput> and <item> than RSS 0.91-0.94 and RSS 2.0.
*/
TQDomNode parentNode;
diff --git a/akregator/src/librss/tools_p.cpp b/akregator/src/librss/tools_p.cpp
index baaa6409d..c4daa0561 100644
--- a/akregator/src/librss/tools_p.cpp
+++ b/akregator/src/librss/tools_p.cpp
@@ -30,9 +30,9 @@ time_t parseISO8601Date(const TQString &s)
return KRFCDate::parseDateISO8601(s + "T12:00:00");
}
-TQString childNodesAsXML(const TQDomNode& tqparent)
+TQString childNodesAsXML(const TQDomNode& parent)
{
- TQDomNodeList list = tqparent.childNodes();
+ TQDomNodeList list = parent.childNodes();
TQString str;
TQTextStream ts( &str, IO_WriteOnly );
for (uint i = 0; i < list.count(); ++i)
@@ -117,9 +117,9 @@ static TQString extractAtomContent(const TQDomElement& e)
return TQString();
}
-TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined)
+TQString extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined)
{
- TQDomNode node = tqparent.namedItem(elemName);
+ TQDomNode node = parent.namedItem(elemName);
if (node.isNull())
return TQString();
@@ -143,9 +143,9 @@ TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool i
return result.isEmpty() ? TQString() : result;
}
-TQString extractTitle(const TQDomNode & tqparent)
+TQString extractTitle(const TQDomNode & parent)
{
- TQDomNode node = tqparent.namedItem(TQString::tqfromLatin1("title"));
+ TQDomNode node = parent.namedItem(TQString::tqfromLatin1("title"));
if (node.isNull())
return TQString();
diff --git a/akregator/src/librss/tools_p.h b/akregator/src/librss/tools_p.h
index 900baa225..47be905d8 100644
--- a/akregator/src/librss/tools_p.h
+++ b/akregator/src/librss/tools_p.h
@@ -29,9 +29,9 @@ namespace RSS
unsigned int count;
};
- TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined=true);
- TQString extractTitle(const TQDomNode &tqparent);
- TQString childNodesAsXML(const TQDomNode& tqparent);
+ TQString extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined=true);
+ TQString extractTitle(const TQDomNode &parent);
+ TQString childNodesAsXML(const TQDomNode& parent);
time_t parseISO8601Date(const TQString &s);
TQString parseItemAuthor(const TQDomElement& element, Format format, Version version);
}