diff options
author | Timothy Pearson <[email protected]> | 2012-08-05 01:00:53 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-08-05 01:00:53 -0500 |
commit | 0008bc5bcd95694b38b0d0322aac2ea6fdb21298 (patch) | |
tree | e36a2a63a9784451af847fc952b281969cb8c0c0 /src/widgets/qdialogbuttons.cpp | |
parent | ebcb1d80bf517aceb69778e1e9f67e5f4da8c484 (diff) | |
download | qt3-0008bc5bcd95694b38b0d0322aac2ea6fdb21298.tar.gz qt3-0008bc5bcd95694b38b0d0322aac2ea6fdb21298.zip |
Update style API to function without an active widget object
Diffstat (limited to 'src/widgets/qdialogbuttons.cpp')
-rw-r--r-- | src/widgets/qdialogbuttons.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/qdialogbuttons.cpp b/src/widgets/qdialogbuttons.cpp index 787a406..39f6d67 100644 --- a/src/widgets/qdialogbuttons.cpp +++ b/src/widgets/qdialogbuttons.cpp @@ -150,6 +150,12 @@ QDialogButtons::isButtonVisible(Button button) const return ((int)(d->visible & button)) == button; } +Q_UINT32 +QDialogButtons::visibleButtons() const +{ + return d->visible; +} + void QDialogButtons::addWidget(QWidget *w) { |