Commit eaf0c6c7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

QmlDesigner: Fix warnings

Change-Id: I21d103153dd0cebaf69ae57cbf19cfabd3ec3ead
Reviewed-on: http://codereview.qt.nokia.com/385

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent bfc68f15
......@@ -49,7 +49,7 @@ DummyNodeInstance::Pointer DummyNodeInstance::create()
return Pointer(new DummyNodeInstance);
}
void DummyNodeInstance::paint(QPainter * /*painter*/) const
void DummyNodeInstance::paint(QPainter * /*painter*/)
{
}
......
......@@ -48,7 +48,7 @@ public:
static Pointer create();
void paint(QPainter *painter) const;
void paint(QPainter *painter);
QRectF boundingRect() const;
QPointF position() const;
......
......@@ -134,6 +134,7 @@ public:
virtual QVariant property(const QString &name) const;
virtual void resetProperty(const QString &name);
using ObjectNodeInstance::reparent; // keep the virtual reparent(...) method around
void reparent(const ServerNodeInstance &oldParentInstance, const QString &oldParentProperty, const ServerNodeInstance &newParentInstance, const QString &newParentProperty);
protected:
......
......@@ -57,6 +57,9 @@ public:
virtual int indexOf(const InternalNodePointer &node) const = 0;
virtual bool isValid() const;
using InternalProperty::remove; // keep the virtual remove(...) method around
protected:
InternalNodeAbstractProperty(const QString &name, const InternalNodePointer &propertyOwner);
virtual void remove(const InternalNodePointer &node) = 0;
......
......@@ -88,7 +88,6 @@ public:
virtual void remove();
QString dynamicTypeName() const;
void resetDynamicTypeName();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment