Files
qt-creator/share/qtcreator/templates/wizards/projects/qtquick2-extension/object.cpp
Eike Ziller 6c9f75ff4a Transform Qt Quick 2 Extension Plugin wizard to JSON
Change-Id: I0e59219adeb5b3aa08a99da7c0bb657d793ba2e1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-08-28 16:38:23 +00:00

16 lines
381 B
C++

#include "%{ObjectHdr}"
%{ObjectName}::%{ObjectName}(QQuickItem *parent)
: QQuickItem(parent)
{
// By default, QQuickItem does not draw anything. If you subclass
// QQuickItem to create a visual item, you will need to uncomment the
// following line and re-implement updatePaintNode()
// setFlag(ItemHasContents, true);
}
%{ObjectName}::~%{ObjectName}()
{
}