diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqheader.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqheader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqheader.cpp b/tqtinterface/qt4/src/widgets/tqheader.cpp index 67fb7f0..bc49be3 100644 --- a/tqtinterface/qt4/src/widgets/tqheader.cpp +++ b/tqtinterface/qt4/src/widgets/tqheader.cpp @@ -1224,7 +1224,7 @@ void TQHeader::setIsATableHeader( bool b ) } /*! \reimp */ -TQSize TQHeader::tqsizeHint() const +TQSize TQHeader::sizeHint() const { int width; int height; @@ -1255,7 +1255,7 @@ TQSize TQHeader::tqsizeHint() const for ( int i = 0; i < count(); i++ ) height += d->sizes[i]; } - return (tqstyle().tqsizeFromContents(TQStyle::CT_Header, this, + return (tqstyle().sizeFromContents(TQStyle::CT_Header, this, TQSize(width, height)).expandedTo(TQApplication::globalStrut())); } |