diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /ksirc/ahistlineedit.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksirc/ahistlineedit.cpp')
-rw-r--r-- | ksirc/ahistlineedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/ahistlineedit.cpp b/ksirc/ahistlineedit.cpp index 4928155c..5477cf5a 100644 --- a/ksirc/ahistlineedit.cpp +++ b/ksirc/ahistlineedit.cpp @@ -116,9 +116,9 @@ void aHistLineEdit::slotMaybeResize() // int h = metrics.height() * lines(); int h = metrics.lineSpacing() * lines()+8; // only grow if we are less than 1/4 the size of the toplevel - if(h > (tqtopLevelWidget()->height() >> 2)) { - if(this != tqtopLevelWidget()) { - h = tqtopLevelWidget()->height() >> 2; + if(h > (topLevelWidget()->height() >> 2)) { + if(this != topLevelWidget()) { + h = topLevelWidget()->height() >> 2; setVScrollBarMode( Auto ); } } @@ -131,7 +131,7 @@ void aHistLineEdit::slotMaybeResize() s.setHeight(h); resize(s); setFixedHeight( h ); - TQLayout *l = tqtopLevelWidget()->tqlayout(); + TQLayout *l = topLevelWidget()->tqlayout(); if(l){ l->tqinvalidate(); l->activate(); |