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