summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/kcmlisa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/kcmlisa/kcmlisa.cpp')
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp
index ea0ee2d9..e17cf5b0 100644
--- a/lanbrowsing/kcmlisa/kcmlisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmlisa.cpp
@@ -55,8 +55,8 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
,m_configFilename(config)
,m_changed(false)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQWidget *dummy(0);
@@ -83,7 +83,7 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
TQGrid *addressesGrid = new TQGrid(2, Qt::Horizontal, this);
addressesGrid->setSpacing(10);
- tqlayout->setStretchFactor(addressesGrid,0);
+ layout->setStretchFactor(addressesGrid,0);
label=new TQLabel(i18n("&Broadcast network address:"),addressesGrid);
comment=i18n("Your network address/subnet mask (e.g. 192.168.0.0/255.255.255.0;)");
@@ -102,13 +102,13 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
label->setBuddy(m_allowedAddresses);
dummy=new TQWidget(this);
- tqlayout->setStretchFactor(dummy,10);
+ layout->setStretchFactor(dummy,10);
hbox = new TQHBox(this);
hbox->setSpacing(10);
// m_autoSetup=new TQPushButton(i18n("&Guided LISa Setup..."),hbox);
m_autoSetup=new TQPushButton(i18n("Setup Wizard..."),hbox);
- m_autoSetup->setFixedWidth( m_autoSetup->tqsizeHint().width() );
+ m_autoSetup->setFixedWidth( m_autoSetup->sizeHint().width() );
m_suggestSettings=new TQPushButton(i18n("&Suggest Settings"),hbox);
@@ -288,7 +288,7 @@ void LisaSettings::save()
confStream<<"PingNames = "<<writeStuff.latin1()<<"\n";
tmp.close();
- TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").tqarg(m_tmpFilename).tqarg(m_configFilename).tqarg(m_configFilename).tqarg(m_tmpFilename);
+ TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").arg(m_tmpFilename).arg(m_configFilename).arg(m_configFilename).arg(m_tmpFilename);
KProcess *proc = new KProcess();
connect(proc, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(saveDone(KProcess *)));
*proc<<"tdesu"<<"-c"<<suCommand;
@@ -298,7 +298,7 @@ void LisaSettings::save()
delete proc;
}
else
- KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").tqarg(m_configFilename));
+ KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").arg(m_configFilename));
}
}
@@ -337,7 +337,7 @@ void LisaSettings::suggestSettings()
{
msg+="<b>"+tmp->name+": </b>"+tmp->addr+"/"+tmp->netmask+";<br>";
}
- KMessageBox::information(0,TQString("<html>%1</html>").tqarg(msg));
+ KMessageBox::information(0,TQString("<html>%1</html>").arg(msg));
}
emit changed();