2019-08-27 16:38:03 +02:00
|
|
|
#include "%{ObjectHdr}"
|
2012-11-19 13:31:50 +01:00
|
|
|
|
2019-08-27 16:38:03 +02:00
|
|
|
%{ObjectName}::%{ObjectName}(QQuickItem *parent)
|
|
|
|
|
: QQuickItem(parent)
|
2012-11-19 13:31:50 +01:00
|
|
|
{
|
|
|
|
|
// 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);
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-27 16:38:03 +02:00
|
|
|
%{ObjectName}::~%{ObjectName}()
|
2012-11-19 13:31:50 +01:00
|
|
|
{
|
|
|
|
|
}
|