diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 |
| commit | afe922f3d9f62716f4e559fb1e374c04afd3db63 (patch) | |
| tree | 9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/widgets/tqgroupbox.cpp | |
| parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
| download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip | |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqgroupbox.cpp')
| -rw-r--r-- | tqtinterface/qt4/src/widgets/tqgroupbox.cpp | 14 |
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; |
