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/resizehandleitem.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/resizehandleitem.h')
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/resizehandleitem.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/resizehandleitem.h b/src/plugins/qmldesigner/components/formeditor/resizehandleitem.h index eeac2e3365..7e2e25c0fc 100644 --- a/src/plugins/qmldesigner/components/formeditor/resizehandleitem.h +++ b/src/plugins/qmldesigner/components/formeditor/resizehandleitem.h @@ -22,15 +22,13 @@ ** be met: https://www.gnu.org/licenses/gpl-3.0.html. ** ****************************************************************************/ +#pragma once -#ifndef RESIZEHANDLEITEM_H -#define RESIZEHANDLEITEM_H - -#include <QGraphicsItem> +#include "resizecontroller.h" #include <qmldesignercorelib_global.h> -#include "resizecontroller.h" +#include <QGraphicsItem> namespace QmlDesigner { @@ -42,7 +40,6 @@ public: Type = 0xEAEA }; - ResizeHandleItem(QGraphicsItem *parent, const ResizeController &resizeController); ~ResizeHandleItem(); void setHandlePosition(const QPointF & globalPosition, const QPointF & itemSpacePosition); @@ -77,6 +74,4 @@ inline int ResizeHandleItem::type() const return Type; } -} - -#endif // RESIZEHANDLEITEM_H +} // namespace QmlDesigner |