summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/formeditor/resizehandleitem.h
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@theqtcompany.com>2016-01-27 11:20:18 +0100
committerTim Jenssen <tim.jenssen@theqtcompany.com>2016-02-02 14:30:56 +0000
commitde28ab0a6f01ce3fc9a5b05754bc379587171887 (patch)
treee295dabac3db7cd565d2e17736c45382dce2c9bd /src/plugins/qmldesigner/components/formeditor/resizehandleitem.h
parenta75a97db1b6c3bdf46dac11032db56349df7f0aa (diff)
downloadqt-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.h13
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