summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp')
-rw-r--r--kppp/edit.cpp16
-rw-r--r--kppp/edit.h2
-rw-r--r--kppp/logview/monthly.cpp4
-rw-r--r--kppp/logview/monthly.h2
-rw-r--r--kppp/macros.h2
5 files changed, 13 insertions, 13 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);
}
}
diff --git a/kppp/edit.h b/kppp/edit.h
index 6b20df1a..3bf7fdb1 100644
--- a/kppp/edit.h
+++ b/kppp/edit.h
@@ -139,7 +139,7 @@ private:
TQRadioButton *staticadd_rb;
IPLineEdit *ipaddress_l;
- IPLineEdit *subnettqmask_l;
+ IPLineEdit *subnetmask_l;
TQCheckBox *autoname;
};
diff --git a/kppp/logview/monthly.cpp b/kppp/logview/monthly.cpp
index 8d949db1..8ac58c16 100644
--- a/kppp/logview/monthly.cpp
+++ b/kppp/logview/monthly.cpp
@@ -249,10 +249,10 @@ MonthlyWidget::MonthlyWidget(TQWidget *tqparent) :
bbox->tqlayout();
currentMonth();
- tqlayoutWidget();
+ layoutWidget();
}
-void MonthlyWidget::tqlayoutWidget() {
+void MonthlyWidget::layoutWidget() {
if(tl)
delete tl;
diff --git a/kppp/logview/monthly.h b/kppp/logview/monthly.h
index 9f9fd24a..516310a4 100644
--- a/kppp/logview/monthly.h
+++ b/kppp/logview/monthly.h
@@ -51,7 +51,7 @@ private slots:
void slotSelectionChanged();
private:
- void tqlayoutWidget();
+ void layoutWidget();
void plotMonth();
/**
diff --git a/kppp/macros.h b/kppp/macros.h
index 8b96469f..b631516a 100644
--- a/kppp/macros.h
+++ b/kppp/macros.h
@@ -1,4 +1,4 @@
-// helper macros for tqlayouting
+// helper macros for layouting
#ifndef __MACROS__H__
#define __MACROS__H__