diff options
Diffstat (limited to 'kregexpeditor/selectablelineedit.cpp')
-rw-r--r-- | kregexpeditor/selectablelineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/selectablelineedit.cpp b/kregexpeditor/selectablelineedit.cpp index ac42c83..25f0a00 100644 --- a/kregexpeditor/selectablelineedit.cpp +++ b/kregexpeditor/selectablelineedit.cpp @@ -43,13 +43,13 @@ void SelectableLineEdit::setSelected( bool selected ) tqrepaint(); } -TQSize SelectableLineEdit::tqsizeHint() const +TQSize SelectableLineEdit::sizeHint() const { int frameWidth = frame() ? 8 : 4; // from TQLineEdit source TQFontMetrics metrics = fontMetrics(); int actualSize = metrics.width( text() ); int charWidth = metrics.maxWidth(); - int height = TQLineEdit::tqsizeHint().height(); + int height = TQLineEdit::sizeHint().height(); int width; if ( hasFocus() ) |