summaryrefslogtreecommitdiffstats
path: root/kppp/edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/edit.cpp')
-rw-r--r--kppp/edit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/edit.cpp b/kppp/edit.cpp
index e330db7f..e9f049ab 100644
--- a/kppp/edit.cpp
+++ b/kppp/edit.cpp
@@ -487,12 +487,12 @@ IPWidget::IPWidget( TQWidget *tqparent, bool isnewaccount, const char *name )
"If unsure, contact your Internet Service Provider");
ipLayout->addWidget(sub_label, 1, 0);
- subnettqmask_l = new IPLineEdit(ipWidget);
- sub_label->setBuddy(subnettqmask_l);
- ipLayout->addWidget(subnettqmask_l, 1, 1);
+ subnetmask_l = new IPLineEdit(ipWidget);
+ sub_label->setBuddy(subnetmask_l);
+ ipLayout->addWidget(subnetmask_l, 1, 1);
TQWhatsThis::add(sub_label,tmp);
- TQWhatsThis::add(subnettqmask_l,tmp);
+ TQWhatsThis::add(subnetmask_l,tmp);
autoname = new TQCheckBox(i18n("&Auto-configure hostname from this IP"), tqparent);
autoname->setChecked(gpppdata.autoname());
@@ -523,7 +523,7 @@ IPWidget::IPWidget( TQWidget *tqparent, bool isnewaccount, const char *name )
}
else {
ipaddress_l->setText(gpppdata.ipaddr());
- subnettqmask_l->setText(gpppdata.subnettqmask());
+ subnetmask_l->setText(gpppdata.subnettqmask());
staticadd_rb->setChecked(true);
autoname->setChecked(false);
}
@@ -560,7 +560,7 @@ void IPWidget::save() {
gpppdata.setSubnettqmask("0.0.0.0");
} else {
gpppdata.setIpaddr(ipaddress_l->text());
- gpppdata.setSubnettqmask(subnettqmask_l->text());
+ gpppdata.setSubnettqmask(subnetmask_l->text());
}
gpppdata.setAutoname(autoname->isChecked());
}
@@ -571,13 +571,13 @@ void IPWidget::hitIPSelect( int i ) {
ipaddress_label->setEnabled(false);
sub_label->setEnabled(false);
ipaddress_l->setEnabled(false);
- subnettqmask_l->setEnabled(false);
+ subnetmask_l->setEnabled(false);
}
else {
ipaddress_label->setEnabled(true);
sub_label->setEnabled(true);
ipaddress_l->setEnabled(true);
- subnettqmask_l->setEnabled(true);
+ subnetmask_l->setEnabled(true);
}
}