summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdialogbuttons.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-08-05 01:00:53 -0500
committerTimothy Pearson <[email protected]>2012-08-05 01:00:53 -0500
commit0008bc5bcd95694b38b0d0322aac2ea6fdb21298 (patch)
treee36a2a63a9784451af847fc952b281969cb8c0c0 /src/widgets/qdialogbuttons.cpp
parentebcb1d80bf517aceb69778e1e9f67e5f4da8c484 (diff)
downloadqt3-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.cpp6
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)
{