summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/kcmkiolan.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 /lanbrowsing/kcmlisa/kcmkiolan.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 'lanbrowsing/kcmlisa/kcmkiolan.cpp')
-rw-r--r--lanbrowsing/kcmlisa/kcmkiolan.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lanbrowsing/kcmlisa/kcmkiolan.cpp b/lanbrowsing/kcmlisa/kcmkiolan.cpp
index 297f127b..d1c0c4f7 100644
--- a/lanbrowsing/kcmlisa/kcmkiolan.cpp
+++ b/lanbrowsing/kcmlisa/kcmkiolan.cpp
@@ -31,14 +31,14 @@
#include <kdebug.h>
#include <kdialog.h>
-IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
-:KCModule(parent)
+IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *tqparent)
+:KCModule(tqparent)
,m_config(config,false,true)
{
- TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- layout->setAutoAdd(true);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ tqlayout->setAutoAdd(true);
- TQGroupBox* group=new TQGroupBox(1, Horizontal, i18n("Show Links for Following Services"), this);
+ TQGroupBox* group=new TQGroupBox(1,Qt::Horizontal, i18n("Show Links for Following Services"), this);
m_ftpSettings=new PortSettingsBar(i18n("FTP (TCP, port 21): "), group);
m_httpSettings=new PortSettingsBar(i18n("HTTP (TCP, port 80): "),group);
@@ -53,13 +53,13 @@ IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
label->setBuddy(m_defaultLisaHostLe);
TQWidget *w=new TQWidget(this);
- layout->setStretchFactor(m_ftpSettings,0);
- layout->setStretchFactor(m_httpSettings,0);
- layout->setStretchFactor(m_nfsSettings,0);
- layout->setStretchFactor(m_smbSettings,0);
- layout->setStretchFactor(m_shortHostnames,0);
- layout->setStretchFactor(hbox,0);
- layout->setStretchFactor(w,1);
+ tqlayout->setStretchFactor(m_ftpSettings,0);
+ tqlayout->setStretchFactor(m_httpSettings,0);
+ tqlayout->setStretchFactor(m_nfsSettings,0);
+ tqlayout->setStretchFactor(m_smbSettings,0);
+ tqlayout->setStretchFactor(m_shortHostnames,0);
+ tqlayout->setStretchFactor(hbox,0);
+ tqlayout->setStretchFactor(w,1);
connect(m_ftpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
connect(m_httpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));