summaryrefslogtreecommitdiffstats
path: root/kcontrol/smserver/kcmsmserver.cpp
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/kcmsmserver.cpp
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/kcmsmserver.cpp')
-rw-r--r--kcontrol/smserver/kcmsmserver.cpp22
1 files changed, 11 insertions, 11 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 );
}