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/tqdialogbuttons.cpp | |
parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp b/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp index cabc7e8..f70e3bd 100644 --- a/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp +++ b/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp @@ -422,18 +422,18 @@ TQDialogButtons::layoutButtons() } TQSize -TQDialogButtons::tqsizeHint() const +TQDialogButtons::sizeHint() const { constPolish(); TQSize s; if(d->custom) - s = d->custom->tqsizeHint(); - return (tqstyle().tqsizeFromContents(TQStyle::CT_DialogButtons, this, s. + s = d->custom->sizeHint(); + return (tqstyle().sizeFromContents(TQStyle::CT_DialogButtons, this, s. expandedTo(TQApplication::globalStrut()))); } TQSize -TQDialogButtons::tqsizeHint(TQDialogButtons::Button button) const +TQDialogButtons::sizeHint(TQDialogButtons::Button button) const { TQWidget *w = NULL; if(d->visible & button) { @@ -445,12 +445,12 @@ TQDialogButtons::tqsizeHint(TQDialogButtons::Button button) const w = d->buttons[button]; } } - return w->tqsizeHint(); + return w->sizeHint(); } TQSize TQDialogButtons::tqminimumSizeHint() const { - return tqsizeHint(); + return sizeHint(); } #endif |