diff options
Diffstat (limited to 'kcontrol/smserver')
-rw-r--r-- | kcontrol/smserver/kcmsmserver.cpp | 22 | ||||
-rw-r--r-- | kcontrol/smserver/kcmsmserver.h | 2 | ||||
-rw-r--r-- | kcontrol/smserver/smserverconfigimpl.cpp | 2 | ||||
-rw-r--r-- | kcontrol/smserver/smserverconfigimpl.h | 4 |
4 files changed, 15 insertions, 15 deletions
diff --git a/kcontrol/smserver/kcmsmserver.cpp b/kcontrol/smserver/kcmsmserver.cpp index 9de1334b0..e1d22cf51 100644 --- a/kcontrol/smserver/kcmsmserver.cpp +++ b/kcontrol/smserver/kcmsmserver.cpp @@ -18,10 +18,10 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software */ -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qradiobutton.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqradiobutton.h> #include <dcopclient.h> @@ -33,10 +33,10 @@ #include "kcmsmserver.h" #include "smserverconfigimpl.h" -typedef KGenericFactory<SMServerConfig, QWidget > SMSFactory; +typedef KGenericFactory<SMServerConfig, TQWidget > SMSFactory; K_EXPORT_COMPONENT_FACTORY (kcm_smserver, SMSFactory("kcmsmserver") ) -SMServerConfig::SMServerConfig( QWidget *parent, const char* name, const QStringList & ) +SMServerConfig::SMServerConfig( TQWidget *parent, const char* name, const TQStringList & ) : KCModule (SMSFactory::instance(), parent, name) { setQuickHelp( i18n("<h1>Session Manager</h1>" @@ -46,9 +46,9 @@ SMServerConfig::SMServerConfig( QWidget *parent, const char* name, const QString " and whether the computer should be automatically shut down after session" " exit by default.")); - QVBoxLayout *topLayout = new QVBoxLayout(this); + TQVBoxLayout *topLayout = new TQVBoxLayout(this); dialog = new SMServerConfigImpl(this); - connect(dialog, SIGNAL(changed()), SLOT(changed())); + connect(dialog, TQT_SIGNAL(changed()), TQT_SLOT(changed())); dialog->show(); topLayout->add(dialog); @@ -71,7 +71,7 @@ void SMServerConfig::load(bool useDefaults ) dialog->offerShutdownCheck->setChecked(en); dialog->sdGroup->setEnabled(en); - QString s = c->readEntry( "loginMode" ); + TQString s = c->readEntry( "loginMode" ); if ( s == "default" ) dialog->emptySessionRadio->setChecked(true); else if ( s == "restoreSavedSession" ) @@ -103,7 +103,7 @@ void SMServerConfig::save() c->setGroup("General"); c->writeEntry( "confirmLogout", dialog->confirmLogoutCheck->isChecked()); c->writeEntry( "offerShutdown", dialog->offerShutdownCheck->isChecked()); - QString s = "restorePreviousLogout"; + TQString s = "restorePreviousLogout"; if ( dialog->emptySessionRadio->isChecked() ) s = "default"; else if ( dialog->savedSessionRadio->isChecked() ) @@ -121,7 +121,7 @@ void SMServerConfig::save() delete c; // update the k menu if necessary - QByteArray data; + TQByteArray data; kapp->dcopClient()->send( "kicker", "kicker", "configure()", data ); } diff --git a/kcontrol/smserver/kcmsmserver.h b/kcontrol/smserver/kcmsmserver.h index 4f51ab3d5..c1ea4a362 100644 --- a/kcontrol/smserver/kcmsmserver.h +++ b/kcontrol/smserver/kcmsmserver.h @@ -31,7 +31,7 @@ class SMServerConfig : public KCModule Q_OBJECT public: - SMServerConfig( QWidget *parent=0, const char* name=0, const QStringList &list=QStringList() ); + SMServerConfig( TQWidget *parent=0, const char* name=0, const TQStringList &list=TQStringList() ); void load(); void load(bool useDefaults); diff --git a/kcontrol/smserver/smserverconfigimpl.cpp b/kcontrol/smserver/smserverconfigimpl.cpp index 9a2afbd90..d9507a9d8 100644 --- a/kcontrol/smserver/smserverconfigimpl.cpp +++ b/kcontrol/smserver/smserverconfigimpl.cpp @@ -18,7 +18,7 @@ #include "smserverconfigimpl.h" #include "smserverconfigimpl.moc" -SMServerConfigImpl::SMServerConfigImpl(QWidget *parent, const char *name ) : SMServerConfigDlg(parent,name) { +SMServerConfigImpl::SMServerConfigImpl(TQWidget *parent, const char *name ) : SMServerConfigDlg(parent,name) { } SMServerConfigImpl::~SMServerConfigImpl(){ diff --git a/kcontrol/smserver/smserverconfigimpl.h b/kcontrol/smserver/smserverconfigimpl.h index d928c48ec..b516617cf 100644 --- a/kcontrol/smserver/smserverconfigimpl.h +++ b/kcontrol/smserver/smserverconfigimpl.h @@ -18,7 +18,7 @@ #ifndef SMSERVERCONFIGIMPL_H #define SMSERVERCONFIGIMPL_H -#include <qwidget.h> +#include <tqwidget.h> #include "smserverconfigdlg.h" /** @@ -28,7 +28,7 @@ class SMServerConfigImpl : public SMServerConfigDlg { Q_OBJECT public: - SMServerConfigImpl(QWidget *parent=0, const char *name=0); + SMServerConfigImpl(TQWidget *parent=0, const char *name=0); ~SMServerConfigImpl(); public slots: // Public slots /** No descriptions */ |