51 Q_OBJECT |
51 Q_OBJECT |
52 public: |
52 public: |
53 LibrariesModel(QObject* parent = nullptr); |
53 LibrariesModel(QObject* parent = nullptr); |
54 auto begin() const { return this->libraries.begin(); } |
54 auto begin() const { return this->libraries.begin(); } |
55 auto end() const { return this->libraries.end(); } |
55 auto end() const { return this->libraries.end(); } |
56 QString findFile(QString fileName) const; |
56 QFileInfo findFile(QString fileName) const; |
57 void addLibrary(const Library& library); |
57 void addLibrary(const Library& library); |
58 void removeLibrary(const index_t libraryIndex); |
58 void removeLibrary(const index_t libraryIndex); |
59 const Library& library(index_t libraryIndex) const; |
59 const Library& library(index_t libraryIndex) const; |
60 void setLibraryPath(index_t libraryIndex, const QDir& path); |
60 void setLibraryPath(index_t libraryIndex, const QDir& path); |
61 void setLibraryRole(index_t libraryIndex, const Library::Role role); |
61 void setLibraryRole(index_t libraryIndex, const Library::Role role); |