76 Qt::Orientation orientation, |
76 Qt::Orientation orientation, |
77 int role = Qt::DisplayRole) const override; |
77 int role = Qt::DisplayRole) const override; |
78 int rowCount(const QModelIndex&) const override; |
78 int rowCount(const QModelIndex&) const override; |
79 int columnCount(const QModelIndex&) const override; |
79 int columnCount(const QModelIndex&) const override; |
80 bool isValidIndex(const int libraryIndex) const; |
80 bool isValidIndex(const int libraryIndex) const; |
81 ldraw::ColorTable loadColorTable(QTextStream& errors); |
81 ldraw::ColorTable loadColorTable(QTextStream& errors) const; |
82 private: |
82 private: |
83 enum Column |
83 enum Column |
84 { |
84 { |
85 RoleColumn, |
85 RoleColumn, |
86 PathColumn |
86 PathColumn |