From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/spellchecking/spellchecking.cpp | 16 ++++++++-------- kcontrol/spellchecking/spellchecking.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kcontrol/spellchecking') 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 -#include +#include +#include #include @@ -27,21 +27,21 @@ #include "spellchecking.h" -typedef KGenericFactory SpellFactory; +typedef KGenericFactory 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("

Spell Checker

This control module allows you to configure the KDE spell checking system. You can configure:

  • which spell checking program to use
  • which types of spelling errors are identified
  • which dictionary is used by default.

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.

")); @@ -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 ); diff --git a/kcontrol/spellchecking/spellchecking.h b/kcontrol/spellchecking/spellchecking.h index f709a873d..130bf5e51 100644 --- a/kcontrol/spellchecking/spellchecking.h +++ b/kcontrol/spellchecking/spellchecking.h @@ -28,7 +28,7 @@ class KSpellCheckingConfig : public KCModule Q_OBJECT public: - KSpellCheckingConfig(QWidget *parent, const char *name, const QStringList &); + KSpellCheckingConfig(TQWidget *parent, const char *name, const TQStringList &); void load(); void save(); -- cgit v1.2.3