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/konsole/kcmkonsole.cpp | 56 ++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'kcontrol/konsole/kcmkonsole.cpp') diff --git a/kcontrol/konsole/kcmkonsole.cpp b/kcontrol/konsole/kcmkonsole.cpp index 19b547366..64ecc45d9 100644 --- a/kcontrol/konsole/kcmkonsole.cpp +++ b/kcontrol/konsole/kcmkonsole.cpp @@ -15,10 +15,10 @@ * * ***************************************************************************/ -#include -#include -#include -#include +#include +#include +#include +#include #include @@ -33,10 +33,10 @@ #include "sessioneditor.h" #include "kcmkonsole.h" -typedef KGenericFactory ModuleFactory; +typedef KGenericFactory ModuleFactory; K_EXPORT_COMPONENT_FACTORY( kcm_konsole, ModuleFactory("kcmkonsole") ) -KCMKonsole::KCMKonsole(QWidget * parent, const char *name, const QStringList&) +KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&) :KCModule(ModuleFactory::instance(), parent, name) { @@ -45,7 +45,7 @@ KCMKonsole::KCMKonsole(QWidget * parent, const char *name, const QStringList&) "configured using the RMB) and you can edit the schemas and sessions " "available to Konsole.")); - QVBoxLayout *topLayout = new QVBoxLayout(this); + TQVBoxLayout *topLayout = new TQVBoxLayout(this); dialog = new KCMKonsoleDialog(this); dialog->line_spacingSB->setRange(0, 8, 1, false); dialog->line_spacingSB->setSpecialValueText(i18n("normal line spacing", "Normal")); @@ -60,24 +60,24 @@ KCMKonsole::KCMKonsole(QWidget * parent, const char *name, const QStringList&) ab->addAuthor("Andrea Rizzi",0, "rizzi@kde.org"); setAboutData( ab ); - connect(dialog->terminalSizeHintCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->warnCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->ctrldragCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->cutToBeginningOfLineCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->allowResizeCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->bidiCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->xonXoffCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->blinkingCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->frameCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->line_spacingSB,SIGNAL(valueChanged(int)), SLOT( changed() )); - connect(dialog->matchTabWinTitleCB,SIGNAL(toggled(bool)), SLOT( changed() )); - connect(dialog->silence_secondsSB,SIGNAL(valueChanged(int)), SLOT( changed() )); - connect(dialog->word_connectorLE,SIGNAL(textChanged(const QString &)), SLOT( changed() )); - connect(dialog->SchemaEditor1, SIGNAL(changed()), SLOT( changed() )); - connect(dialog->SessionEditor1, SIGNAL(changed()), SLOT( changed() )); - connect(dialog->SchemaEditor1, SIGNAL(schemaListChanged(const QStringList &,const QStringList &)), - dialog->SessionEditor1, SLOT(schemaListChanged(const QStringList &,const QStringList &))); - connect(dialog->SessionEditor1, SIGNAL(getList()), dialog->SchemaEditor1, SLOT(getList())); + connect(dialog->terminalSizeHintCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->warnCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->ctrldragCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->cutToBeginningOfLineCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->allowResizeCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->bidiCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->xonXoffCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->blinkingCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->frameCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->line_spacingSB,TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() )); + connect(dialog->matchTabWinTitleCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->silence_secondsSB,TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() )); + connect(dialog->word_connectorLE,TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT( changed() )); + connect(dialog->SchemaEditor1, TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(dialog->SessionEditor1, TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(dialog->SchemaEditor1, TQT_SIGNAL(schemaListChanged(const TQStringList &,const TQStringList &)), + dialog->SessionEditor1, TQT_SLOT(schemaListChanged(const TQStringList &,const TQStringList &))); + connect(dialog->SessionEditor1, TQT_SIGNAL(getList()), dialog->SchemaEditor1, TQT_SLOT(getList())); } void KCMKonsole::load() @@ -152,9 +152,9 @@ void KCMKonsole::save() emit changed(false); DCOPClient *dcc = kapp->dcopClient(); - dcc->send("konsole-*", "konsole", "reparseConfiguration()", QByteArray()); - dcc->send("kdesktop", "default", "configure()", QByteArray()); - dcc->send("klauncher", "klauncher", "reparseConfiguration()", QByteArray()); + dcc->send("konsole-*", "konsole", "reparseConfiguration()", TQByteArray()); + dcc->send("kdesktop", "default", "configure()", TQByteArray()); + dcc->send("klauncher", "klauncher", "reparseConfiguration()", TQByteArray()); if (xonXoffOrig != xonXoffNew) { -- cgit v1.2.1