summaryrefslogtreecommitdiffstats
path: root/libkdegames/highscore
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/highscore')
-rw-r--r--libkdegames/highscore/kexthighscore.h2
-rw-r--r--libkdegames/highscore/kexthighscore_internal.cpp2
-rw-r--r--libkdegames/highscore/kexthighscore_item.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/libkdegames/highscore/kexthighscore.h b/libkdegames/highscore/kexthighscore.h
index 575ab592..7f16eac6 100644
--- a/libkdegames/highscore/kexthighscore.h
+++ b/libkdegames/highscore/kexthighscore.h
@@ -111,7 +111,7 @@ KDE_EXPORT Score firstScore();
* You can replace the score item (for e.g. displaying it differently) with
* setScoreItem or add an item with addScoreItem.
*
- * The players list tqcontains :
+ * The players list contains :
* <ul>
* <li> the player name (as defined by the user in the configuration
* dialog) </li>
diff --git a/libkdegames/highscore/kexthighscore_internal.cpp b/libkdegames/highscore/kexthighscore_internal.cpp
index a1dfd747..1bd0ddbc 100644
--- a/libkdegames/highscore/kexthighscore_internal.cpp
+++ b/libkdegames/highscore/kexthighscore_internal.cpp
@@ -320,7 +320,7 @@ PlayerInfos::PlayerInfos()
TQMap<TQString, TQString>::const_iterator it;
for (it=entries.begin(); it!=entries.end(); ++it) {
TQString key = it.key();
- if ( key.tqfind(prefix)==0 ) {
+ if ( key.find(prefix)==0 ) {
TQString name = key.right(key.length()-prefix.length());
if ( name!="name" || !isNameUsed(it.data()) )
internal->hsConfig().writeEntry(_id+1, name, it.data());
diff --git a/libkdegames/highscore/kexthighscore_item.cpp b/libkdegames/highscore/kexthighscore_item.cpp
index 44fe64fa..faf7ffdf 100644
--- a/libkdegames/highscore/kexthighscore_item.cpp
+++ b/libkdegames/highscore/kexthighscore_item.cpp
@@ -154,13 +154,13 @@ Score::~Score()
const TQVariant &Score::data(const TQString &name) const
{
- Q_ASSERT( _data.tqcontains(name) );
+ Q_ASSERT( _data.contains(name) );
return _data[name];
}
void Score::setData(const TQString &name, const TQVariant &value)
{
- Q_ASSERT( _data.tqcontains(name) );
+ Q_ASSERT( _data.contains(name) );
Q_ASSERT( _data[name].type()==value.type() );
_data[name] = value;
}