forked from qt-creator/qt-creator
QmlDesigner: Remove old paint function in instances
Change-Id: I5da0c624b467448dc6f16a88fa3ad3682f423c20 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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();
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user