diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 936370a6413e14b322ce808be07c6c66714941b6 (patch) | |
tree | 31b9f37bb64beac5eddafef05312da5b48736bd6 /plugins/rssfeed/rss | |
parent | 2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff) | |
download | ktorrent-936370a6413e14b322ce808be07c6c66714941b6.tar.gz ktorrent-936370a6413e14b322ce808be07c6c66714941b6.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/rssfeed/rss')
-rw-r--r-- | plugins/rssfeed/rss/article.cpp | 4 | ||||
-rw-r--r-- | plugins/rssfeed/rss/article.h | 4 | ||||
-rw-r--r-- | plugins/rssfeed/rss/document.cpp | 2 | ||||
-rw-r--r-- | plugins/rssfeed/rss/tools_p.cpp | 4 | ||||
-rw-r--r-- | plugins/rssfeed/rss/tools_p.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/plugins/rssfeed/rss/article.cpp b/plugins/rssfeed/rss/article.cpp index 476eb09..9e52589 100644 --- a/plugins/rssfeed/rss/article.cpp +++ b/plugins/rssfeed/rss/article.cpp @@ -241,9 +241,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/plugins/rssfeed/rss/article.h b/plugins/rssfeed/rss/article.h index 93f1908..6fbbe44 100644 --- a/plugins/rssfeed/rss/article.h +++ b/plugins/rssfeed/rss/article.h @@ -132,7 +132,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 @@ -145,7 +145,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/plugins/rssfeed/rss/document.cpp b/plugins/rssfeed/rss/document.cpp index 812338a..c65e263 100644 --- a/plugins/rssfeed/rss/document.cpp +++ b/plugins/rssfeed/rss/document.cpp @@ -150,7 +150,7 @@ Document::Document(const TQDomDocument &doc) : d(new Private) 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/plugins/rssfeed/rss/tools_p.cpp b/plugins/rssfeed/rss/tools_p.cpp index fb161e8..cc2d2ab 100644 --- a/plugins/rssfeed/rss/tools_p.cpp +++ b/plugins/rssfeed/rss/tools_p.cpp @@ -27,9 +27,9 @@ time_t RSS::parseISO8601Date(const TQString &s) } -TQString RSS::extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined) +TQString RSS::extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined) { - TQDomNode node = tqparent.namedItem(elemName); + TQDomNode node = parent.namedItem(elemName); if (node.isNull()) return TQString(); diff --git a/plugins/rssfeed/rss/tools_p.h b/plugins/rssfeed/rss/tools_p.h index 1f77171..45e8bdc 100644 --- a/plugins/rssfeed/rss/tools_p.h +++ b/plugins/rssfeed/rss/tools_p.h @@ -26,7 +26,7 @@ namespace RSS unsigned int count; }; - TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined=true); + TQString extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined=true); time_t parseISO8601Date(const TQString &s); } |