aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2014-05-12 15:30:15 +0200
committerMarco Bubke <marco.bubke@digia.com>2014-05-13 15:00:22 +0200
commitc7b1ae1ee4852734e28c447fc96d182dcd530821 (patch)
treed34274b36f649768b26a064bd8a413fcd7b83418 /src/plugins/qmldesigner/components/formeditor/resizemanipulator.h
parent811f74ce63a7ff0bded919cd3fb80373ac1e9164 (diff)
QmlDesigner: Exchange QWeakPointer with QPointer
Because we compile only with Qt 5. Change-Id: I2c6496f37550438f7c8ccbf8af0090c525b87d8f Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/resizemanipulator.h')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/resizemanipulator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h b/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h
index c443bac8ad..5fff941ccb 100644
--- a/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h
+++ b/src/plugins/qmldesigner/components/formeditor/resizemanipulator.h
@@ -30,7 +30,7 @@
#ifndef RESIZEMANIPULATOR_H
#define RESIZEMANIPULATOR_H
-#include <QWeakPointer>
+#include <QPointer>
#include "resizehandleitem.h"
#include <snapper.h>
#include "rewritertransaction.h"
@@ -67,7 +67,7 @@ protected:
private:
Snapper m_snapper;
- QWeakPointer<FormEditorView> m_view;
+ QPointer<FormEditorView> m_view;
QList<QGraphicsItem*> m_graphicsLineList;
ResizeController m_resizeController; // hold the controller so that the handle cant be deleted
QTransform m_beginFromSceneToContentItemTransform;
@@ -80,7 +80,7 @@ private:
double m_beginLeftMargin;
double m_beginRightMargin;
double m_beginBottomMargin;
- QWeakPointer<LayerItem> m_layerItem;
+ QPointer<LayerItem> m_layerItem;
ResizeHandleItem *m_resizeHandle;
RewriterTransaction m_rewriterTransaction;
bool m_isActive;