summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/nfs/nfshostdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/nfs/nfshostdlg.cpp')
-rw-r--r--filesharing/advanced/nfs/nfshostdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/filesharing/advanced/nfs/nfshostdlg.cpp b/filesharing/advanced/nfs/nfshostdlg.cpp
index b2205f25..e13be0c7 100644
--- a/filesharing/advanced/nfs/nfshostdlg.cpp
+++ b/filesharing/advanced/nfs/nfshostdlg.cpp
@@ -32,8 +32,8 @@
#include "nfsentry.h"
-NFSHostDlg::NFSHostDlg(TQWidget* parent, HostList* hosts, NFSEntry* entry)
- : KDialogBase(Plain, i18n("Host Properties"), Ok|Cancel, Ok, parent),
+NFSHostDlg::NFSHostDlg(TQWidget* tqparent, HostList* hosts, NFSEntry* entry)
+ : KDialogBase(Plain, i18n("Host Properties"), Ok|Cancel, Ok, tqparent),
m_hosts(hosts), m_nfsEntry(entry), m_modified(false)
{
@@ -41,8 +41,8 @@ NFSHostDlg::NFSHostDlg(TQWidget* parent, HostList* hosts, NFSEntry* entry)
m_gui = new HostProps(page);
- TQVBoxLayout *layout = new TQVBoxLayout( page, 0, 6 );
- layout->addWidget( m_gui );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( page, 0, 6 );
+ tqlayout->addWidget( m_gui );
connect( m_gui, TQT_SIGNAL(modified()), this, TQT_SLOT(setModified()));
@@ -108,7 +108,7 @@ void NFSHostDlg::setEditValue(TQLineEdit* edit, const TQString & value) {
edit->setText(value);
else
if (edit->text() != value)
- edit->setText(TQString::null);
+ edit->setText(TQString());
}
void NFSHostDlg::setCheckBoxValue(TQCheckBox* chk, bool value) {
@@ -156,14 +156,14 @@ bool NFSHostDlg::saveName(NFSHost* host) {
TQString name = m_gui->nameEdit->text().stripWhiteSpace();
if (name.isEmpty()) {
KMessageBox::sorry(this,
- i18n("Please enter a hostname or an IP address.").arg(name),
+ i18n("Please enter a hostname or an IP address.").tqarg(name),
i18n("No Hostname/IP-Address"));
m_gui->nameEdit->setFocus();
return false;
} else {
NFSHost* host2 = m_nfsEntry->getHostByName(name);
if (host2 && host2 != host) {
- KMessageBox::sorry(this,i18n("The host '%1' already exists.").arg(name),
+ KMessageBox::sorry(this,i18n("The host '%1' already exists.").tqarg(name),
i18n("Host Already Exists"));
m_gui->nameEdit->setFocus();
return false;