diff options
Diffstat (limited to 'kcontrol/spellchecking')
-rw-r--r-- | kcontrol/spellchecking/spellchecking.cpp | 10 | ||||
-rw-r--r-- | kcontrol/spellchecking/spellchecking.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/spellchecking/spellchecking.cpp b/kcontrol/spellchecking/spellchecking.cpp index 805a98d6b..6816cd6c2 100644 --- a/kcontrol/spellchecking/spellchecking.cpp +++ b/kcontrol/spellchecking/spellchecking.cpp @@ -41,7 +41,7 @@ KSpellCheckingConfig::KSpellCheckingConfig(TQWidget *parent, const char *name, c spellConfig = new KSpellConfig(box, 0L ,0L, false ); layout->addStretch(1); - connect(spellConfig,TQT_SIGNAL(configChanged()), TQT_SLOT( changed() )); + connect(spellConfig,TQ_SIGNAL(configChanged()), TQ_SLOT( changed() )); setQuickHelp( i18n("<h1>Spell Checker</h1><p>This control module allows you to configure the TDE spell checking system. You can configure:<ul><li> which spell checking program to use<li> which types of spelling errors are identified<li> which dictionary is used by default.</ul><br>The TDE spell checking system (KSpell) provides support for two common spell checking utilities: ASpell and ISpell. This allows you to share dictionaries between TDE applications and non-TDE applications.</p>")); @@ -56,9 +56,9 @@ void KSpellCheckingConfig::save() { spellConfig->writeGlobalSettings(); TQByteArray data; - if ( !kapp->dcopClient()->isAttached() ) - kapp->dcopClient()->attach(); - kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", data ); + if ( !tdeApp->dcopClient()->isAttached() ) + tdeApp->dcopClient()->attach(); + tdeApp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", data ); } void KSpellCheckingConfig::defaults() @@ -66,7 +66,7 @@ void KSpellCheckingConfig::defaults() spellConfig->setNoRootAffix(0); spellConfig->setRunTogether(0); spellConfig->setDictionary(""); - spellConfig->setDictFromList(FALSE); + spellConfig->setDictFromList(false); spellConfig->setEncoding (KS_E_UTF8); spellConfig->setClient (KS_CLIENT_ISPELL); } diff --git a/kcontrol/spellchecking/spellchecking.h b/kcontrol/spellchecking/spellchecking.h index 10db546fd..dc94470cb 100644 --- a/kcontrol/spellchecking/spellchecking.h +++ b/kcontrol/spellchecking/spellchecking.h @@ -25,7 +25,7 @@ class KSpellConfig; class KSpellCheckingConfig : public TDECModule { - Q_OBJECT + TQ_OBJECT public: KSpellCheckingConfig(TQWidget *parent, const char *name, const TQStringList &); |