diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-01-19 10:28:27 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-01-19 10:34:31 +0000 |
commit | 20a613ba5e04f4d899bef8a67850cfefe8111453 (patch) | |
tree | 9c484e38e7b38b05c35fa6f8223e4b334be5e5e7 /src/quicktemplates2/qquickpopup.cpp | |
parent | 0c65ffef9b021555c03081e4e60e91a268d46c98 (diff) |
Format initializer lists
Initialize one member per line. Allow empty constructors with one
initialized member on a single line.
Change-Id: Ie115802561ebd19efd4dacda1fa868b64d279109
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpopup.cpp')
-rw-r--r-- | src/quicktemplates2/qquickpopup.cpp | 85 |
1 files changed, 42 insertions, 43 deletions
diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp index 06a3c34e..5feb9640 100644 --- a/src/quicktemplates2/qquickpopup.cpp +++ b/src/quicktemplates2/qquickpopup.cpp @@ -188,49 +188,48 @@ QT_BEGIN_NAMESPACE */ QQuickPopupPrivate::QQuickPopupPrivate() - : QObjectPrivate() - , focus(false) - , modal(false) - , dim(false) - , hasDim(false) - , visible(false) - , complete(false) - , positioning(false) - , hasWidth(false) - , hasHeight(false) - , hasTopMargin(false) - , hasLeftMargin(false) - , hasRightMargin(false) - , hasBottomMargin(false) - , allowVerticalFlip(false) - , allowHorizontalFlip(false) - , allowVerticalMove(true) - , allowHorizontalMove(true) - , allowVerticalResize(true) - , allowHorizontalResize(true) - , hadActiveFocusBeforeExitTransition(false) - , interactive(true) - , x(0) - , y(0) - , effectiveX(0) - , effectiveY(0) - , margins(-1) - , topMargin(0) - , leftMargin(0) - , rightMargin(0) - , bottomMargin(0) - , contentWidth(0) - , contentHeight(0) - , transitionState(QQuickPopupPrivate::NoTransition) - , closePolicy(QQuickPopup::CloseOnEscape | QQuickPopup::CloseOnPressOutside) - , parentItem(nullptr) - , dimmer(nullptr) - , window(nullptr) - , enter(nullptr) - , exit(nullptr) - , popupItem(nullptr) - , positioner(nullptr) - , transitionManager(this) + : focus(false), + modal(false), + dim(false), + hasDim(false), + visible(false), + complete(false), + positioning(false), + hasWidth(false), + hasHeight(false), + hasTopMargin(false), + hasLeftMargin(false), + hasRightMargin(false), + hasBottomMargin(false), + allowVerticalFlip(false), + allowHorizontalFlip(false), + allowVerticalMove(true), + allowHorizontalMove(true), + allowVerticalResize(true), + allowHorizontalResize(true), + hadActiveFocusBeforeExitTransition(false), + interactive(true), + x(0), + y(0), + effectiveX(0), + effectiveY(0), + margins(-1), + topMargin(0), + leftMargin(0), + rightMargin(0), + bottomMargin(0), + contentWidth(0), + contentHeight(0), + transitionState(QQuickPopupPrivate::NoTransition), + closePolicy(QQuickPopup::CloseOnEscape | QQuickPopup::CloseOnPressOutside), + parentItem(nullptr), + dimmer(nullptr), + window(nullptr), + enter(nullptr), + exit(nullptr), + popupItem(nullptr), + positioner(nullptr), + transitionManager(this) { } |