summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kcmkvaio/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kmilo/kmilo_kvaio/kcmkvaio/main.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmilo/kmilo_kvaio/kcmkvaio/main.cpp')
-rw-r--r--kmilo/kmilo_kvaio/kcmkvaio/main.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmilo/kmilo_kvaio/kcmkvaio/main.cpp b/kmilo/kmilo_kvaio/kcmkvaio/main.cpp
index ce27c94..4cf9707 100644
--- a/kmilo/kmilo_kvaio/kcmkvaio/main.cpp
+++ b/kmilo/kmilo_kvaio/kcmkvaio/main.cpp
@@ -19,11 +19,11 @@
*
*/
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qtimer.h>
-#include <qslider.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqtimer.h>
+#include <tqslider.h>
#include <dcopclient.h>
#include <kgenericfactory.h>
@@ -40,13 +40,13 @@
#include "main.h"
#include "main.moc"
-typedef KGenericFactory<KVaioModule, QWidget> KVaioModuleFactory;
+typedef KGenericFactory<KVaioModule, TQWidget> KVaioModuleFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kvaio, KVaioModuleFactory("kcmkvaio"))
#define CONFIG_FILE "kmilodrc"
-KVaioModule::KVaioModule(QWidget *parent, const char *name, const QStringList &)
+KVaioModule::KVaioModule(TQWidget *parent, const char *name, const TQStringList &)
: KCModule(KVaioModuleFactory::instance(), parent, name)
{
KAboutData *about =
@@ -61,14 +61,14 @@ KVaioModule::KVaioModule(QWidget *parent, const char *name, const QStringList &)
"mirko@kde.org");
setAboutData( about );
- QVBoxLayout *layout = new QVBoxLayout(this);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
mKVaioGeneral = new KCMKVaioGeneral(this);
layout->addWidget( mKVaioGeneral );
layout->addStretch();
mDriver = new KVaioDriverInterface(this);
mDriverAvailable = mDriver->connectToDriver(false);
- mTimer = new QTimer(this);
+ mTimer = new TQTimer(this);
mTimer->start(231);
load();
@@ -82,10 +82,10 @@ KVaioModule::KVaioModule(QWidget *parent, const char *name, const QStringList &)
// mKVaioGeneral->frameMain->setEnabled (true);
}
- connect(mKVaioGeneral, SIGNAL(changed()),
- SLOT(changed()));
- connect(mTimer, SIGNAL(timeout()), SLOT(timeout()));
- connect(mDriver, SIGNAL (vaioEvent(int)), SLOT (vaioEvent(int) ) );
+ connect(mKVaioGeneral, TQT_SIGNAL(changed()),
+ TQT_SLOT(changed()));
+ connect(mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
+ connect(mDriver, TQT_SIGNAL (vaioEvent(int)), TQT_SLOT (vaioEvent(int) ) );
}
void KVaioModule::save()
@@ -108,8 +108,8 @@ void KVaioModule::save()
if(mClient.attach())
{
- QByteArray data, replyData;
- QCString replyType;
+ TQByteArray data, replyData;
+ TQCString replyType;
if (!mClient.call("kded", "kmilod", "reconfigure()",
data, replyType, replyData))