Files
qt-creator/share/qtcreator/templates/wizards/qml-extension/object.cpp
Erik Verbruggen 3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00

18 lines
420 B
C++

#include "%ObjectName:l%.%CppHeaderSuffix%"
#include <qdeclarative.h>
%ObjectName%::%ObjectName%(QDeclarativeItem *parent):
QDeclarativeItem(parent)
{
// By default, QDeclarativeItem does not draw anything. If you subclass
// QDeclarativeItem to create a visual item, you will need to uncomment the
// following line:
// setFlag(ItemHasNoContents, false);
}
%ObjectName%::~%ObjectName%()
{
}