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 | e33879600503bacc0b4ef090f7f79ab80bb6b0da (patch) | |
tree | 44e01ee5c450ceb24586533757815b685c27cb9d /experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp | |
parent | 10df383d2a019c4972a49273a3872c2e5489c7ff (diff) | |
download | tde-e33879600503bacc0b4ef090f7f79ab80bb6b0da.tar.gz tde-e33879600503bacc0b4ef090f7f79ab80bb6b0da.zip |
Rename tqsize* to size*
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp b/experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp index 69bdedba8..0ddddf80e 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp +++ b/experimental/tqtinterface/qt4/src/widgets/tqradiobutton.cpp @@ -156,17 +156,17 @@ void TQRadioButton::setChecked( bool check ) /*! \reimp */ -TQSize TQRadioButton::tqsizeHint() const +TQSize TQRadioButton::sizeHint() const { // Any more complex, and we will use tqstyle().tqitemRect() - // NB: TQCheckBox::tqsizeHint() is similar + // NB: TQCheckBox::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_RadioButton, this, sz). + return (tqstyle().sizeFromContents(TQStyle::CT_RadioButton, this, sz). expandedTo(TQApplication::globalStrut())); } @@ -321,7 +321,7 @@ void TQRadioButton::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_RadioButton, this, isz). + TQSize wsz = (tqstyle().sizeFromContents(TQStyle::CT_RadioButton, this, isz). expandedTo(TQApplication::globalStrut())); update(wsz.width(), isz.width(), 0, wsz.height()); |