summaryrefslogtreecommitdiffstats
path: root/kppp/newwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kppp/newwidget.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
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);