summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qpushbutton_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qpushbutton_p.h')
-rw-r--r--src/gui/widgets/qpushbutton_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/qpushbutton_p.h b/src/gui/widgets/qpushbutton_p.h
index f448027..2510e05 100644
--- a/src/gui/widgets/qpushbutton_p.h
+++ b/src/gui/widgets/qpushbutton_p.h
@@ -68,6 +68,10 @@ public:
defaultButton(false), flat(false), menuOpen(false), lastAutoDefault(false) {}
inline void init() { resetLayoutItemMargins(); }
+ static QPushButtonPrivate* get(QPushButton *b) { return b->d_func(); }
+#ifndef QT_NO_MENU
+ QPoint adjustedMenuPosition();
+#endif
void resetLayoutItemMargins();
void _q_popupPressed();
QDialog *dialogParent() const;