diff options
Diffstat (limited to 'kppp/newwidget.cpp')
-rw-r--r-- | kppp/newwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kppp/newwidget.cpp b/kppp/newwidget.cpp index ba8508e5..66ed8649 100644 --- a/kppp/newwidget.cpp +++ b/kppp/newwidget.cpp @@ -1,15 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// // -// functions generating layout-aware widgets +// functions generating tqlayout-aware widgets // ///////////////////////////////////////////////////////////////////////////// #include "newwidget.h" -TQLineEdit *newLineEdit(int visiblewidth, TQWidget *parent) { - TQLineEdit *l = new TQLineEdit(parent); +TQLineEdit *newLineEdit(int visiblewidth, TQWidget *tqparent) { + TQLineEdit *l = new TQLineEdit(tqparent); if(visiblewidth == 0) - l->setMinimumWidth(l->sizeHint().width()); + l->setMinimumWidth(l->tqsizeHint().width()); else l->setFixedWidth(l->fontMetrics().width('H') * visiblewidth); |