summaryrefslogtreecommitdiffstats
path: root/src/ui_netparamsedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_netparamsedit.cpp')
-rw-r--r--src/ui_netparamsedit.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/ui_netparamsedit.cpp b/src/ui_netparamsedit.cpp
index 0e994d6..ee4b588 100644
--- a/src/ui_netparamsedit.cpp
+++ b/src/ui_netparamsedit.cpp
@@ -22,20 +22,20 @@
#include "ui_netparamsedit.h"
#include "netparams.h"
-#include <qgroupbox.h>
-#include <qlineedit.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qtabwidget.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include <qbuttongroup.h>
-#include <qlabel.h>
+#include <tqgroupbox.h>
+#include <tqlineedit.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqtabwidget.h>
+#include <tqpushbutton.h>
+#include <tqspinbox.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
#include <kiconloader.h>
-ui_NetParamsEdit::ui_NetParamsEdit(QWidget* parent, const char* name, bool modal, WFlags fl)
- : netProperties(parent,name, modal,fl)
+ui_NetParamsEdit::ui_NetParamsEdit(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+ : netProperties(tqparent,name, modal,fl)
{
buttonHelp->hide();
buttonOk->setIconSet( SmallIconSet("ok") );
@@ -81,7 +81,7 @@ void ui_NetParamsEdit::setValues( const WANetParams & np )
}
}
if (np.wpa) {
- labelWpaSettings->setText( QString("<i>%1</i>").arg( np.wpaSettings.join("<br>") ) );
+ labelWpaSettings->setText( TQString("<i>%1</i>").tqarg( np.wpaSettings.join("<br>") ) );
if ( np.wpaKey.left(2)=="s:" ) { //ASCII key
checkWpaAscii->setChecked(true);
wpaKey->setText( np.wpaKey.right(np.wpaKey.length()-2) );
@@ -97,7 +97,7 @@ void ui_NetParamsEdit::setValues( const WANetParams & np )
ip->setText(np.ip);
broadcast->setText( np.broadcast );
- netmask->setText( np.netmask );
+ nettqmask->setText( np.nettqmask );
gateway->setText( np.gateway );
domain->setText( np.domain );
dns1->setText( np.dns1 );
@@ -129,7 +129,7 @@ WANetParams ui_NetParamsEdit::readNetParams( WANetParams & np )
np.dhcp = radioDhcp->isChecked();
np.ip = ip->text();
np.broadcast = broadcast->text();
- np.netmask = netmask->text();
+ np.nettqmask = nettqmask->text();
np.gateway = gateway->text();
np.domain = domain->text();
np.dns1 = dns1->text();