summaryrefslogtreecommitdiffstats
path: root/kspell2/settings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kspell2/settings.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspell2/settings.cpp')
-rw-r--r--kspell2/settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspell2/settings.cpp b/kspell2/settings.cpp
index c220520e6..664ae24e0 100644
--- a/kspell2/settings.cpp
+++ b/kspell2/settings.cpp
@@ -75,7 +75,7 @@ KSharedConfig *Settings::sharedConfig() const
void Settings::setDefaultLanguage( const TQString& lang )
{
TQStringList cs = d->broker->languages();
- if ( cs.tqfind( lang ) != cs.end() &&
+ if ( cs.find( lang ) != cs.end() &&
d->defaultLanguage != lang ) {
d->defaultLanguage = lang;
readIgnoreList();
@@ -94,7 +94,7 @@ void Settings::setDefaultClient( const TQString& client )
//Different from setDefaultLanguage because
//the number of clients can't be even close
//as big as the number of languages
- if ( d->broker->clients().tqcontains( client ) ) {
+ if ( d->broker->clients().contains( client ) ) {
d->defaultClient = client;
d->modified = true;
d->broker->changed();
@@ -167,7 +167,7 @@ TQStringList Settings::currentIgnoreList() const
void Settings::addWordToIgnore( const TQString& word )
{
- if ( !d->ignore.tqcontains( word ) ) {
+ if ( !d->ignore.contains( word ) ) {
d->modified = true;
d->ignore.insert( word, true );
}
@@ -175,7 +175,7 @@ void Settings::addWordToIgnore( const TQString& word )
bool Settings::ignore( const TQString& word )
{
- return d->ignore.tqcontains( word );
+ return d->ignore.contains( word );
}
void Settings::readIgnoreList()