summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:31:40 +0900
commit203566f83535401b5013d37c4e319b1278a4d650 (patch)
treeaeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /kppp
parentc613d3df31b003c077f524cd7184590339b0c04d (diff)
downloadtdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz
tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'kppp')
-rw-r--r--kppp/accounts.cpp4
-rw-r--r--kppp/pppstatdlg.cpp4
-rw-r--r--kppp/pwentry.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/kppp/accounts.cpp b/kppp/accounts.cpp
index cfd24c3a..352fdd5b 100644
--- a/kppp/accounts.cpp
+++ b/kppp/accounts.cpp
@@ -115,7 +115,7 @@ AccountWidget::AccountWidget( TQWidget *parent, const char *name )
l121->addWidget(costlabel);
costedit = new TQLineEdit(parent);
- costedit->setFocusPolicy(TQ_NoFocus);
+ costedit->setFocusPolicy(TQWidget::NoFocus);
costedit->setFixedHeight(costedit->sizeHint().height());
costedit->setEnabled(FALSE);
l121->addWidget(costedit);
@@ -134,7 +134,7 @@ AccountWidget::AccountWidget( TQWidget *parent, const char *name )
l121->addWidget(vollabel);
voledit = new TQLineEdit(parent,"voledit");
- voledit->setFocusPolicy(TQ_NoFocus);
+ voledit->setFocusPolicy(TQWidget::NoFocus);
voledit->setFixedHeight(voledit->sizeHint().height());
voledit->setEnabled(FALSE);
l121->addWidget(voledit);
diff --git a/kppp/pppstatdlg.cpp b/kppp/pppstatdlg.cpp
index cc5386e7..f65c36ca 100644
--- a/kppp/pppstatdlg.cpp
+++ b/kppp/pppstatdlg.cpp
@@ -89,13 +89,13 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *,
ip_address_label1->setText(i18n("Local Addr:"));
ip_address_label2 = new IPLineEdit(this);
- ip_address_label2->setFocusPolicy(TQ_NoFocus);
+ ip_address_label2->setFocusPolicy(TQWidget::NoFocus);
ip_address_label3 = new TQLabel(this);
ip_address_label3->setText(i18n("Remote Addr:"));
ip_address_label4 = new IPLineEdit(this);
- ip_address_label4->setFocusPolicy(TQ_NoFocus);
+ ip_address_label4->setFocusPolicy(TQWidget::NoFocus);
l1112->addWidget(ip_address_label1, 0, 0);
l1112->addWidget(ip_address_label2, 0, 1);
diff --git a/kppp/pwentry.cpp b/kppp/pwentry.cpp
index c3fc516e..2af3efb4 100644
--- a/kppp/pwentry.cpp
+++ b/kppp/pwentry.cpp
@@ -49,7 +49,7 @@ PWEntry::PWEntry( TQWidget *parent, const char *name )
frame = new TQGroupBox(name, this );
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
pw = new TQLineEdit( this, "le" );
pw->setEchoMode( TQLineEdit::Password );