summaryrefslogtreecommitdiffstats
path: root/kspell2
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch)
tree36613dfe2f86f8ccb96a30f3880507341228eeb0 /kspell2
parent1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff)
downloadtdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz
tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspell2')
-rw-r--r--kspell2/broker.cpp2
-rw-r--r--kspell2/settings.cpp8
-rw-r--r--kspell2/ui/dialog.cpp2
-rw-r--r--kspell2/ui/highlighter.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/kspell2/broker.cpp b/kspell2/broker.cpp
index b24f20beb..0149dace1 100644
--- a/kspell2/broker.cpp
+++ b/kspell2/broker.cpp
@@ -65,7 +65,7 @@ Broker *Broker::openBroker( KSharedConfig *config )
preventDeletion = config;
if ( s_brokers ) {
- Broker *broker = s_brokers->tqfind( preventDeletion );
+ Broker *broker = s_brokers->find( preventDeletion );
if ( broker )
return broker;
}
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()
diff --git a/kspell2/ui/dialog.cpp b/kspell2/ui/dialog.cpp
index 46e31ad82..e8444bec6 100644
--- a/kspell2/ui/dialog.cpp
+++ b/kspell2/ui/dialog.cpp
@@ -261,7 +261,7 @@ void Dialog::slotMisspelling(const TQString& word, int start )
{
kdDebug()<<"Dialog misspelling!!"<<endl;
d->currentWord = Word( word, start );
- if ( d->replaceAllMap.tqcontains( word ) ) {
+ if ( d->replaceAllMap.contains( word ) ) {
d->ui->m_replacement->setText( d->replaceAllMap[ word ] );
slotReplaceWord();
} else {
diff --git a/kspell2/ui/highlighter.cpp b/kspell2/ui/highlighter.cpp
index a3c33d7ae..2d185462d 100644
--- a/kspell2/ui/highlighter.cpp
+++ b/kspell2/ui/highlighter.cpp
@@ -110,7 +110,7 @@ TQString Highlighter::currentLanguage() const
void Highlighter::setCurrentLanguage( const TQString& lang )
{
- if ( !d->dictCache.tqfind( lang ) ) {
+ if ( !d->dictCache.find( lang ) ) {
Dictionary *dict = d->broker->dictionary( lang );
if ( dict ) {
d->dictCache.insert( lang, dict );