diff options
author | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
commit | afe922f3d9f62716f4e559fb1e374c04afd3db63 (patch) | |
tree | 9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/widgets/tqcheckbox.cpp | |
parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqcheckbox.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqcheckbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqcheckbox.cpp b/tqtinterface/qt4/src/widgets/tqcheckbox.cpp index 37e8eac..0b139bf 100644 --- a/tqtinterface/qt4/src/widgets/tqcheckbox.cpp +++ b/tqtinterface/qt4/src/widgets/tqcheckbox.cpp @@ -170,16 +170,16 @@ bool TQCheckBox::isTristate() const /*!\reimp */ -TQSize TQCheckBox::tqsizeHint() const +TQSize TQCheckBox::sizeHint() const { - // NB: TQRadioButton::tqsizeHint() is similar + // NB: TQRadioButton::sizeHint() is similar constPolish(); TQPainter p(this); TQSize sz = tqstyle().tqitemRect(&p, TQRect(0, 0, 1, 1), TQt::ShowPrefix, FALSE, pixmap(), text()).size(); - return (tqstyle().tqsizeFromContents(TQStyle::CT_CheckBox, this, sz). + return (tqstyle().sizeFromContents(TQStyle::CT_CheckBox, this, sz). expandedTo(TQApplication::globalStrut())); } @@ -316,7 +316,7 @@ void TQCheckBox::resizeEvent( TQResizeEvent *e ) TQPainter p(this); TQSize isz = tqstyle().tqitemRect(&p, TQRect(0, 0, 1, 1), TQt::ShowPrefix, FALSE, pixmap(), text()).size(); - TQSize wsz = (tqstyle().tqsizeFromContents(TQStyle::CT_CheckBox, this, isz). + TQSize wsz = (tqstyle().sizeFromContents(TQStyle::CT_CheckBox, this, isz). expandedTo(TQApplication::globalStrut())); update(wsz.width(), isz.width(), 0, wsz.height()); |