QmlDesigner: Modernize

modernize-use-using

Change-Id: Ia8eef3d97db7b99ec813a030e1f39ee492d6cf9a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Thomas Hartmann
2018-07-31 17:11:50 +02:00
parent 0c2bc9c2da
commit 2cb238471a
14 changed files with 33 additions and 30 deletions
@@ -34,8 +34,8 @@ namespace Internal {
class QmlStateNodeInstance : public ObjectNodeInstance
{
public:
typedef QSharedPointer<QmlStateNodeInstance> Pointer;
typedef QWeakPointer<QmlStateNodeInstance> WeakPointer;
using Pointer = QSharedPointer<QmlStateNodeInstance>;
using WeakPointer = QWeakPointer<QmlStateNodeInstance>;
static Pointer create(QObject *objectToBeWrapped);