summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqlineedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 18:20:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 18:20:57 -0500
commitafe922f3d9f62716f4e559fb1e374c04afd3db63 (patch)
tree9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/widgets/tqlineedit.cpp
parent656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff)
downloadexperimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz
experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip
Rename tqsize* to size*
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())));
}