summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/kcmreslisa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/kcmlisa/kcmreslisa.cpp')
-rw-r--r--lanbrowsing/kcmlisa/kcmreslisa.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/lanbrowsing/kcmlisa/kcmreslisa.cpp b/lanbrowsing/kcmlisa/kcmreslisa.cpp
index fcaf104c..06342be4 100644
--- a/lanbrowsing/kcmlisa/kcmreslisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmreslisa.cpp
@@ -36,8 +36,8 @@
#include <krestrictedline.h>
#include <keditlistbox.h>
-ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
-: KCModule(parent)
+ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *tqparent)
+: KCModule(tqparent)
,m_config(config,false,true)
,m_kiolanConfig("kio_lanrc",false,true)
,m_advancedSettingsButton(0)
@@ -53,8 +53,8 @@ ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
,m_maxPingsAtOnce(0)
,m_reslisaAdvancedDlg(0)
{
- TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- layout->setAutoAdd(true);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ tqlayout->setAutoAdd(true);
TQVButtonGroup *gb=new TQVButtonGroup(i18n("Tell ResLISa Daemon How to Search for Hosts"),this);
gb->setInsideSpacing(10);
@@ -68,7 +68,7 @@ ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
TQHBox *hbox=new TQHBox(this);
hbox->setSpacing(10);
TQLabel *label=new TQLabel(i18n("&Trusted addresses:"),hbox);
- TQString comment = i18n("Usually your network address/subnet mask (e.g. 192.168.0.0/255.255.255.0;)");
+ TQString comment = i18n("Usually your network address/subnet tqmask (e.g. 192.168.0.0/255.255.255.0;)");
TQToolTip::add(label, comment);
m_allowedAddresses=new KRestrictedLine(hbox,"a","0123456789./;");
TQToolTip::add(m_allowedAddresses,comment);
@@ -218,8 +218,8 @@ void ResLisaSettings::suggestSettings()
MyNIC *nic=nics->first();
TQString address = nic->addr;
- TQString netmask = nic->netmask;
- m_allowedAddresses->setText(address+"/"+netmask+";");
+ TQString nettqmask = nic->nettqmask;
+ m_allowedAddresses->setText(address+"/"+nettqmask+";");
m_secondWait->setValue(0);
m_secondScan->setChecked(FALSE);
m_secondWait->setEnabled(FALSE);
@@ -235,11 +235,11 @@ void ResLisaSettings::suggestSettings()
//not that easy to handle
for (MyNIC* tmp=nics->first(); tmp!=0; tmp=nics->next())
{
- msg+="<b>"+tmp->name+": </b>"+tmp->addr+"/"+tmp->netmask+";<br>";
+ msg+="<b>"+tmp->name+": </b>"+tmp->addr+"/"+tmp->nettqmask+";<br>";
}
- KMessageBox::information(0,TQString("<html>%1</html>").arg(msg));
+ KMessageBox::information(0,TQString("<html>%1</html>").tqarg(msg));
}
- KMessageBox::information(0,TQString("<html>%1</html>").arg(i18n("The ResLISa daemon is now configured "
+ KMessageBox::information(0,TQString("<html>%1</html>").tqarg(i18n("The ResLISa daemon is now configured "
"correctly, hopefully.<br>Make sure that the reslisa binary is installed <i>suid root</i>.")));
emit changed();