QmlDesigner: Remove old paint function in instances

Change-Id: I5da0c624b467448dc6f16a88fa3ad3682f423c20
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-04-15 15:32:36 +02:00
parent e7206d5b04
commit de822ec5ca
2 changed files with 0 additions and 10 deletions

View File

@@ -108,15 +108,6 @@ ServerNodeInstance &ServerNodeInstance::operator=(const ServerNodeInstance &othe
return *this; return *this;
} }
/*!
\brief Paints the NodeInstance with this painter.
\param painter used QPainter
*/
void ServerNodeInstance::paint(QPainter *painter)
{
m_nodeInstance->paint(painter);
}
QImage ServerNodeInstance::renderImage() const QImage ServerNodeInstance::renderImage() const
{ {
return m_nodeInstance->renderImage(); return m_nodeInstance->renderImage();

View File

@@ -96,7 +96,6 @@ public:
ServerNodeInstance(const ServerNodeInstance &other); ServerNodeInstance(const ServerNodeInstance &other);
ServerNodeInstance& operator=(const ServerNodeInstance &other); ServerNodeInstance& operator=(const ServerNodeInstance &other);
void paint(QPainter *painter);
QImage renderImage() const; QImage renderImage() const;
QImage renderPreviewImage(const QSize &previewImageSize) const; QImage renderPreviewImage(const QSize &previewImageSize) const;