summaryrefslogtreecommitdiffstats
path: root/kcontrol/spellchecking
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/spellchecking
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/spellchecking')
-rw-r--r--kcontrol/spellchecking/spellchecking.cpp16
-rw-r--r--kcontrol/spellchecking/spellchecking.h2
2 files changed, 9 insertions, 9 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 );
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();