forked from qt-creator/qt-creator
24 lines
361 B
Plaintext
24 lines
361 B
Plaintext
#include <{{CLASS_HEADER}}>
|
|
|
|
struct {{CLASS_NAME}}Data
|
|
{
|
|
};
|
|
|
|
{{CLASS_NAME}}::{{CLASS_NAME}}(QObject* parent)
|
|
:{{BASE_CLASS_NAME}}(parent)
|
|
{
|
|
d = {{CLASS_NAME}}Data;
|
|
}
|
|
|
|
{{CLASS_NAME}}::~{{CLASS_NAME}}()
|
|
{
|
|
}
|
|
|
|
int {{CLASS_NAME}}::rowCount(const QModelIndex& parent) const
|
|
{
|
|
}
|
|
|
|
QVariant {{CLASS_NAME}}::data(const QModelIndex& index, int role) const
|
|
{
|
|
}
|