summaryrefslogtreecommitdiffstats
path: root/ktalkd/kcmktalkd/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ktalkd/kcmktalkd/main.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktalkd/kcmktalkd/main.cpp')
-rw-r--r--ktalkd/kcmktalkd/main.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ktalkd/kcmktalkd/main.cpp b/ktalkd/kcmktalkd/main.cpp
index 06f1e9b8..a1ff8878 100644
--- a/ktalkd/kcmktalkd/main.cpp
+++ b/ktalkd/kcmktalkd/main.cpp
@@ -30,17 +30,17 @@
#include <tqtabwidget.h>
#include <tqlayout.h>
-KTalkdConfigModule::KTalkdConfigModule(TQWidget *parent, const char *name)
- : KCModule(parent, name)
+KTalkdConfigModule::KTalkdConfigModule(TQWidget *tqparent, const char *name)
+ : KCModule(tqparent, name)
{
config = new KSimpleConfig("ktalkdrc");
announceconfig = new KSimpleConfig("ktalkannouncerc");
- TQVBoxLayout *layout = new TQVBoxLayout(this);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
tab = new TQTabWidget(this);
- layout->addWidget(tab);
+ tqlayout->addWidget(tab);
soundpage = new KSoundPageConfig(this, "soundpage", config, announceconfig);
answmachpage = new KAnswmachPageConfig(this, "answmachpage", config);
@@ -88,24 +88,24 @@ void KTalkdConfigModule::resizeEvent(TQResizeEvent *)
extern "C"
{
- KDE_EXPORT KCModule *create_ktalkd(TQWidget *parent, const char *)
+ KDE_EXPORT KCModule *create_ktalkd(TQWidget *tqparent, const char *)
{
- return new KTalkdConfigModule(parent, "kcmktalkd");
+ return new KTalkdConfigModule(tqparent, "kcmktalkd");
}
- KDE_EXPORT KCModule *create_ktalkd_answmach(TQWidget *parent, const char *)
+ KDE_EXPORT KCModule *create_ktalkd_answmach(TQWidget *tqparent, const char *)
{
- return new KAnswmachPageConfig(parent, "kcmktalkd");
+ return new KAnswmachPageConfig(tqparent, "kcmktalkd");
}
- KDE_EXPORT KCModule *create_ktalkd_sound(TQWidget *parent, const char *)
+ KDE_EXPORT KCModule *create_ktalkd_sound(TQWidget *tqparent, const char *)
{
- return new KSoundPageConfig(parent, "kcmktalkd");
+ return new KSoundPageConfig(tqparent, "kcmktalkd");
}
- KDE_EXPORT KCModule *create_ktalkd_forwmach(TQWidget *parent, const char *)
+ KDE_EXPORT KCModule *create_ktalkd_forwmach(TQWidget *tqparent, const char *)
{
- return new KForwmachPageConfig(parent, "kcmktalkd");
+ return new KForwmachPageConfig(tqparent, "kcmktalkd");
}
}