summaryrefslogtreecommitdiffstats
path: root/kcontrol/smserver
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/smserver
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/smserver')
-rw-r--r--kcontrol/smserver/kcmsmserver.cpp22
-rw-r--r--kcontrol/smserver/kcmsmserver.h2
-rw-r--r--kcontrol/smserver/smserverconfigimpl.cpp2
-rw-r--r--kcontrol/smserver/smserverconfigimpl.h4
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 */