summaryrefslogtreecommitdiffstats
path: root/kcontrol/spellchecking/spellchecking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/spellchecking/spellchecking.cpp')
-rw-r--r--kcontrol/spellchecking/spellchecking.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/spellchecking/spellchecking.cpp b/kcontrol/spellchecking/spellchecking.cpp
index d4e781844..6416f9e9c 100644
--- a/kcontrol/spellchecking/spellchecking.cpp
+++ b/kcontrol/spellchecking/spellchecking.cpp
@@ -15,8 +15,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qvgroupbox.h>
+#include <tqlayout.h>
+#include <tqvgroupbox.h>
#include <dcopclient.h>
@@ -27,21 +27,21 @@
#include "spellchecking.h"
-typedef KGenericFactory<KSpellCheckingConfig, QWidget > SpellFactory;
+typedef KGenericFactory<KSpellCheckingConfig, TQWidget > SpellFactory;
K_EXPORT_COMPONENT_FACTORY (kcm_spellchecking, SpellFactory("kcmspellchecking") )
-KSpellCheckingConfig::KSpellCheckingConfig(QWidget *parent, const char *name, const QStringList &):
+KSpellCheckingConfig::KSpellCheckingConfig(TQWidget *parent, const char *name, const TQStringList &):
KCModule(SpellFactory::instance(), parent, name)
{
- QBoxLayout *layout = new QVBoxLayout(this, 0, KDialog::spacingHint());
- QGroupBox *box = new QVGroupBox( i18n("Spell Checking Settings"), this );
+ TQBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
+ TQGroupBox *box = new TQVGroupBox( i18n("Spell Checking Settings"), this );
box->layout()->setSpacing( KDialog::spacingHint() );
layout->addWidget(box);
spellConfig = new KSpellConfig(box, 0L ,0L, false );
layout->addStretch(1);
- connect(spellConfig,SIGNAL(configChanged()), SLOT( changed() ));
+ connect(spellConfig,TQT_SIGNAL(configChanged()), TQT_SLOT( changed() ));
setQuickHelp( i18n("<h1>Spell Checker</h1><p>This control module allows you to configure the KDE 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 KDE spell checking system (KSpell) provides support for two common spell checking utilities: ASpell and ISpell. This allows you to share dictionaries between KDE applications and non-KDE applications.</p>"));
@@ -55,7 +55,7 @@ void KSpellCheckingConfig::load()
void KSpellCheckingConfig::save()
{
spellConfig->writeGlobalSettings();
- QByteArray data;
+ TQByteArray data;
if ( !kapp->dcopClient()->isAttached() )
kapp->dcopClient()->attach();
kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", data );