diff options
author | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2016-01-27 11:20:18 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2016-02-02 14:30:56 +0000 |
commit | de28ab0a6f01ce3fc9a5b05754bc379587171887 (patch) | |
tree | e295dabac3db7cd565d2e17736c45382dce2c9bd /src/plugins/qmldesigner/components/formeditor/resizetool.h | |
parent | a75a97db1b6c3bdf46dac11032db56349df7f0aa (diff) | |
download | qt-creator-de28ab0a6f01ce3fc9a5b05754bc379587171887.tar.gz |
QmlDesigner: using pragma once at formeditor files
- also clean up some empty lines and include orders
Change-Id: Ia076951a6b0060ae70c53f213bdb5d6a12abd319
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/resizetool.h')
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/resizetool.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/resizetool.h b/src/plugins/qmldesigner/components/formeditor/resizetool.h index cd9f4bea20..87690d8c21 100644 --- a/src/plugins/qmldesigner/components/formeditor/resizetool.h +++ b/src/plugins/qmldesigner/components/formeditor/resizetool.h @@ -22,9 +22,7 @@ ** be met: https://www.gnu.org/licenses/gpl-3.0.html. ** ****************************************************************************/ - -#ifndef RESIZETOOL_H -#define RESIZETOOL_H +#pragma once #include "abstractformeditortool.h" #include "selectionindicator.h" @@ -32,7 +30,6 @@ #include "anchorindicator.h" #include "resizemanipulator.h" - namespace QmlDesigner { class ResizeTool : public AbstractFormEditorTool @@ -66,7 +63,6 @@ public: void instancesCompleted(const QList<FormEditorItem*> &itemList) override; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override; - private: SelectionIndicator m_selectionIndicator; ResizeIndicator m_resizeIndicator; @@ -74,6 +70,4 @@ private: ResizeManipulator m_resizeManipulator; }; -} - -#endif // RESIZETOOL_H +} // namespace QmlDesigner |