diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp b/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp index f70e3bd40..cabc7e878 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp +++ b/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp @@ -422,18 +422,18 @@ TQDialogButtons::layoutButtons() } TQSize -TQDialogButtons::sizeHint() const +TQDialogButtons::tqsizeHint() const { constPolish(); TQSize s; if(d->custom) - s = d->custom->sizeHint(); - return (tqstyle().sizeFromContents(TQStyle::CT_DialogButtons, this, s. + s = d->custom->tqsizeHint(); + return (tqstyle().tqsizeFromContents(TQStyle::CT_DialogButtons, this, s. expandedTo(TQApplication::globalStrut()))); } TQSize -TQDialogButtons::sizeHint(TQDialogButtons::Button button) const +TQDialogButtons::tqsizeHint(TQDialogButtons::Button button) const { TQWidget *w = NULL; if(d->visible & button) { @@ -445,12 +445,12 @@ TQDialogButtons::sizeHint(TQDialogButtons::Button button) const w = d->buttons[button]; } } - return w->sizeHint(); + return w->tqsizeHint(); } TQSize TQDialogButtons::tqminimumSizeHint() const { - return sizeHint(); + return tqsizeHint(); } #endif |