summaryrefslogtreecommitdiffstats
path: root/akregator/src/article.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/article.cpp')
-rw-r--r--akregator/src/article.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/article.cpp b/akregator/src/article.cpp
index c0151af39..3b7f321a9 100644
--- a/akregator/src/article.cpp
+++ b/akregator/src/article.cpp
@@ -102,7 +102,7 @@ void Article::initialize(RSS::Article article, Backend::FeedStorage* archive)
d->guid = article.guid();
- if (!d->archive->tqcontains(d->guid))
+ if (!d->archive->contains(d->guid))
{
d->archive->addEntry(d->guid);
@@ -425,7 +425,7 @@ void Article::removeTag(const TQString& tag)
bool Article::hasTag(const TQString& tag) const
{
- return d->archive->tags(d->guid).tqcontains(tag);
+ return d->archive->tags(d->guid).contains(tag);
}
TQStringList Article::tags() const
@@ -453,7 +453,7 @@ TQString Article::buildTitle(const TQString& description)
if (description.stripWhiteSpace().isEmpty())
return "";
- int i = s.tqfind('>',500); /*avoid processing too much */
+ int i = s.find('>',500); /*avoid processing too much */
if (i != -1)
s = s.left(i+1);
TQRegExp rx("(<([^\\s>]*)(?:[^>]*)>)[^<]*", false);
@@ -470,7 +470,7 @@ TQString Article::buildTitle(const TQString& description)
}
else
toReplace=rx.cap(1); // strip just tag
- s=s.tqreplace(s.tqfind(toReplace),toReplace.length(),replaceWith); // do the deed
+ s=s.replace(s.find(toReplace),toReplace.length(),replaceWith); // do the deed
}
if (s.length()> 90)
s=s.left(90)+"...";