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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/filesharing/advanced/nfs/nfshostdlg.cpp b/filesharing/advanced/nfs/nfshostdlg.cpp
index 09307e92..c4c1002d 100644
--- a/filesharing/advanced/nfs/nfshostdlg.cpp
+++ b/filesharing/advanced/nfs/nfshostdlg.cpp
@@ -16,7 +16,7 @@
***************************************************************************/
#include <tqcheckbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqwhatsthis.h>
#include <tqgroupbox.h>
@@ -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()));
@@ -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;