From 33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 17 Jul 2011 19:19:26 -0500 Subject: Revert "Rename tqsize* to size*" This reverts commit e33879600503bacc0b4ef090f7f79ab80bb6b0da. --- tqtinterface/qt4/src/widgets/tqcheckbox.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tqtinterface/qt4/src/widgets/tqcheckbox.cpp') diff --git a/tqtinterface/qt4/src/widgets/tqcheckbox.cpp b/tqtinterface/qt4/src/widgets/tqcheckbox.cpp index 0b139bf..37e8eac 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::sizeHint() const +TQSize TQCheckBox::tqsizeHint() const { - // NB: TQRadioButton::sizeHint() is similar + // NB: TQRadioButton::tqsizeHint() is similar constPolish(); TQPainter p(this); TQSize sz = tqstyle().tqitemRect(&p, TQRect(0, 0, 1, 1), TQt::ShowPrefix, FALSE, pixmap(), text()).size(); - return (tqstyle().sizeFromContents(TQStyle::CT_CheckBox, this, sz). + return (tqstyle().tqsizeFromContents(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().sizeFromContents(TQStyle::CT_CheckBox, this, isz). + TQSize wsz = (tqstyle().tqsizeFromContents(TQStyle::CT_CheckBox, this, isz). expandedTo(TQApplication::globalStrut())); update(wsz.width(), isz.width(), 0, wsz.height()); -- cgit v1.2.3