Added Q_OBJECT to TreeModel and some cosmetics
This commit is contained in:
@@ -197,6 +197,7 @@ set(companion_MOC_HDRS
|
|||||||
wizarddialog.h
|
wizarddialog.h
|
||||||
modelprinter.h
|
modelprinter.h
|
||||||
multimodelprinter.h
|
multimodelprinter.h
|
||||||
|
modelslist.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(companion_UIS
|
set(companion_UIS
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ class TreeItem
|
|||||||
|
|
||||||
class TreeModel : public QAbstractItemModel
|
class TreeModel : public QAbstractItemModel
|
||||||
{
|
{
|
||||||
// Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TreeModel(RadioData * radioData, QObject *parent = 0);
|
TreeModel(RadioData * radioData, QObject *parent = 0);
|
||||||
~TreeModel();
|
virtual ~TreeModel();
|
||||||
|
|
||||||
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
|
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
|
||||||
QVariant headerData(int section, Qt::Orientation orientation,
|
QVariant headerData(int section, Qt::Orientation orientation,
|
||||||
|
|||||||
Reference in New Issue
Block a user