summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/kcmkiolan.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /lanbrowsing/kcmlisa/kcmkiolan.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lanbrowsing/kcmlisa/kcmkiolan.cpp')
-rw-r--r--lanbrowsing/kcmlisa/kcmkiolan.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/lanbrowsing/kcmlisa/kcmkiolan.cpp b/lanbrowsing/kcmlisa/kcmkiolan.cpp
index 981c6796..297f127b 100644
--- a/lanbrowsing/kcmlisa/kcmkiolan.cpp
+++ b/lanbrowsing/kcmlisa/kcmkiolan.cpp
@@ -20,39 +20,39 @@
#include "kcmkiolan.h"
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqgroupbox.h>
#include <klocale.h>
#include <kdebug.h>
#include <kdialog.h>
-IOSlaveSettings::IOSlaveSettings(const QString& config, QWidget *parent)
+IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
:KCModule(parent)
,m_config(config,false,true)
{
- QVBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
- QGroupBox* group=new QGroupBox(1, Horizontal, i18n("Show Links for Following Services"), this);
+ TQGroupBox* group=new TQGroupBox(1, 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);
m_nfsSettings=new PortSettingsBar(i18n("NFS (TCP, port 2049): "),group);
m_smbSettings=new PortSettingsBar(i18n("Windows shares (TCP, ports 445 and 139):"),group);
m_fishSettings=new PortSettingsBar(i18n("Secure Shell/Fish (TCP, port 22): "),group);
- m_shortHostnames = new QCheckBox(i18n("Show &short hostnames (without domain suffix)"),this);
+ m_shortHostnames = new TQCheckBox(i18n("Show &short hostnames (without domain suffix)"),this);
- QHBox *hbox=new QHBox(this);
- QLabel *label=new QLabel(i18n("Default LISa server host: "), hbox);
- m_defaultLisaHostLe=new QLineEdit(hbox);
+ TQHBox *hbox=new TQHBox(this);
+ TQLabel *label=new TQLabel(i18n("Default LISa server host: "), hbox);
+ m_defaultLisaHostLe=new TQLineEdit(hbox);
label->setBuddy(m_defaultLisaHostLe);
- QWidget *w=new QWidget(this);
+ TQWidget *w=new TQWidget(this);
layout->setStretchFactor(m_ftpSettings,0);
layout->setStretchFactor(m_httpSettings,0);
layout->setStretchFactor(m_nfsSettings,0);
@@ -61,13 +61,13 @@ IOSlaveSettings::IOSlaveSettings(const QString& config, QWidget *parent)
layout->setStretchFactor(hbox,0);
layout->setStretchFactor(w,1);
- connect(m_ftpSettings,SIGNAL(changed()),this,SIGNAL(changed()));
- connect(m_httpSettings,SIGNAL(changed()),this,SIGNAL(changed()));
- connect(m_nfsSettings,SIGNAL(changed()),this,SIGNAL(changed()));
- connect(m_smbSettings,SIGNAL(changed()),this,SIGNAL(changed()));
- connect(m_fishSettings,SIGNAL(changed()),this,SIGNAL(changed()));
- connect(m_shortHostnames,SIGNAL(clicked()),this,SIGNAL(changed()));
- connect(m_defaultLisaHostLe, SIGNAL(textChanged(const QString&)),this,SIGNAL(changed()));
+ connect(m_ftpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
+ connect(m_httpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
+ connect(m_nfsSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
+ connect(m_smbSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
+ connect(m_fishSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
+ connect(m_shortHostnames,TQT_SIGNAL(clicked()),this,TQT_SIGNAL(changed()));
+ connect(m_defaultLisaHostLe, TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
}
void IOSlaveSettings::load()