summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqgroupbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqgroupbox.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqgroupbox.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqgroupbox.cpp b/tqtinterface/qt4/src/widgets/tqgroupbox.cpp
index f9c341e..fd07192 100644
--- a/tqtinterface/qt4/src/widgets/tqgroupbox.cpp
+++ b/tqtinterface/qt4/src/widgets/tqgroupbox.cpp
@@ -213,8 +213,8 @@ void TQGroupBox::setTextSpacer()
int fh = fm.height();
if ( isCheckable() ) {
#ifndef TQT_NO_CHECKBOX
- fh = d->checkbox->tqsizeHint().height() + 2;
- w = d->checkbox->tqsizeHint().width() + 2*fm.width( "xx" );
+ fh = d->checkbox->sizeHint().height() + 2;
+ w = d->checkbox->sizeHint().width() + 2*fm.width( "xx" );
#endif
} else {
fh = fm.height();
@@ -766,14 +766,14 @@ void TQGroupBox::fontChange( const TQFont & oldFont )
\reimp
*/
-TQSize TQGroupBox::tqsizeHint() const
+TQSize TQGroupBox::sizeHint() const
{
TQFontMetrics fm( font() );
int tw, th;
if ( isCheckable() ) {
#ifndef TQT_NO_CHECKBOX
- tw = d->checkbox->tqsizeHint().width() + 2*fm.width( "xx" );
- th = d->checkbox->tqsizeHint().height() + fm.width( TQChar(' ') );
+ tw = d->checkbox->sizeHint().width() + 2*fm.width( "xx" );
+ th = d->checkbox->sizeHint().height() + fm.width( TQChar(' ') );
#endif
} else {
tw = fm.width( title() ) + 2 * fm.width( "xx" );
@@ -782,7 +782,7 @@ TQSize TQGroupBox::tqsizeHint() const
TQSize s;
if ( tqlayout() ) {
- s = TQFrame::tqsizeHint();
+ s = TQFrame::sizeHint();
return s.expandedTo( TQSize( tw, 0 ) );
} else {
TQRect r = tqchildrenRect();
@@ -960,7 +960,7 @@ void TQGroupBox::setEnabled(bool on)
void TQGroupBox::updateCheckBoxGeometry()
{
if ( d->checkbox ) {
- TQSize cbSize = d->checkbox->tqsizeHint();
+ TQSize cbSize = d->checkbox->sizeHint();
TQRect cbRect( 0, 0, cbSize.width(), cbSize.height() );
int marg = bFlat ? 2 : 8;