diff options
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 |