summaryrefslogtreecommitdiffstats
path: root/kppp/newwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/newwidget.cpp')
-rw-r--r--kppp/newwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kppp/newwidget.cpp b/kppp/newwidget.cpp
index ba8508e5..49676ddd 100644
--- a/kppp/newwidget.cpp
+++ b/kppp/newwidget.cpp
@@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
//
-// functions generating layout-aware widgets
+// functions generating tqlayout-aware widgets
//
/////////////////////////////////////////////////////////////////////////////
@@ -9,7 +9,7 @@
TQLineEdit *newLineEdit(int visiblewidth, TQWidget *parent) {
TQLineEdit *l = new TQLineEdit(parent);
if(visiblewidth == 0)
- l->setMinimumWidth(l->sizeHint().width());
+ l->setMinimumWidth(l->tqsizeHint().width());
else
l->setFixedWidth(l->fontMetrics().width('H') * visiblewidth);