diff options
Diffstat (limited to 'librss')
-rw-r--r-- | librss/article.cpp | 4 | ||||
-rw-r--r-- | librss/article.h | 4 | ||||
-rw-r--r-- | librss/document.cpp | 2 | ||||
-rw-r--r-- | librss/tools_p.cpp | 4 | ||||
-rw-r--r-- | librss/tools_p.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/librss/article.cpp b/librss/article.cpp index 8c6e8f91..8c3fa313 100644 --- a/librss/article.cpp +++ b/librss/article.cpp @@ -112,9 +112,9 @@ const TQDateTime &Article::pubDate() const return d->pubDate; } -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/librss/article.h b/librss/article.h index 0444e7f3..838e2f16 100644 --- a/librss/article.h +++ b/librss/article.h @@ -126,7 +126,7 @@ namespace RSS const TQDateTime &pubDate() 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 @@ -139,7 +139,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; private: struct Private; diff --git a/librss/document.cpp b/librss/document.cpp index 1cf9730e..d6059f05 100644 --- a/librss/document.cpp +++ b/librss/document.cpp @@ -109,7 +109,7 @@ Document::Document(const TQDomDocument &doc) : d(new Private) if (!(elemText = extractNode(channelNode, TQString::tqfromLatin1("link"))).isNull()) d->link = elemText; - /* 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/librss/tools_p.cpp b/librss/tools_p.cpp index 01a4f36d..9c75ade4 100644 --- a/librss/tools_p.cpp +++ b/librss/tools_p.cpp @@ -12,9 +12,9 @@ #include <tqdom.h> -TQString RSS::extractNode(const TQDomNode &tqparent, const TQString &elemName) +TQString RSS::extractNode(const TQDomNode &parent, const TQString &elemName) { - TQDomNode node = tqparent.namedItem(elemName); + TQDomNode node = parent.namedItem(elemName); if (node.isNull()) return TQString(); diff --git a/librss/tools_p.h b/librss/tools_p.h index bfa418ce..da67251f 100644 --- a/librss/tools_p.h +++ b/librss/tools_p.h @@ -24,7 +24,7 @@ namespace RSS unsigned int count; }; - TQString extractNode(const TQDomNode &tqparent, const TQString &elemName); + TQString extractNode(const TQDomNode &parent, const TQString &elemName); } #endif // LIBRSS_TOOLS_P_H |