Lots of changes again

This commit is contained in:
feedc0de committed 2022-01-09 21:07:41 +01:00
1 parent 17fceb9eed
commit 0aba7eadaf
99 files changed
+1231 -232

No files matched your search

+5 -1
View File
@@ -25,7 +25,8 @@ public:
Font,
};
explicit ProjectTreeModel(ProjectContainer *project, QObject *parent = nullptr);
explicit ProjectTreeModel(QObject *parent = nullptr);
explicit ProjectTreeModel(ProjectContainer &project, QObject *parent = nullptr);
QModelIndex index(int row, int column, const QModelIndex &parent) const override;
QModelIndex parent(const QModelIndex &child) const override;
@@ -74,6 +75,9 @@ public:
Font *getFont(const QModelIndex &index);
const Font *getFont(const QModelIndex &index) const;
signals:
void errorOccured(const QString &message);
private:
ProjectContainer *m_project{};
};