summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqlineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqlineedit.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqlineedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqlineedit.cpp b/tqtinterface/qt4/src/widgets/tqlineedit.cpp
index 2d41152..c7b08ef 100644
--- a/tqtinterface/qt4/src/widgets/tqlineedit.cpp
+++ b/tqtinterface/qt4/src/widgets/tqlineedit.cpp
@@ -640,14 +640,14 @@ void TQLineEdit::setValidator( const TQValidator *v )
20 characters.
*/
-TQSize TQLineEdit::tqsizeHint() const
+TQSize TQLineEdit::sizeHint() const
{
constPolish();
TQFontMetrics fm( font() );
int h = TQMAX(fm.lineSpacing(), 14) + 2*innerMargin;
int w = fm.width( 'x' ) * 17; // "some"
int m = frameWidth() * 2;
- return (tqstyle().tqsizeFromContents(TQStyle::CT_LineEdit, this,
+ return (tqstyle().sizeFromContents(TQStyle::CT_LineEdit, this,
TQSize( w + m, h + m ).
expandedTo(TQApplication::globalStrut())));
}