36 public QAbstractListModel
46 [[nodiscard]]
int rowCount(
const QModelIndex& index = QModelIndex())
const override;
47 [[nodiscard]] QVariant data(
const QModelIndex& index,
int role)
const override;
49 void appendRow(
const LibName& name,
const LibPath& path);
50 void renameRow(
int row,
const LibName& newName);
51 void changePath(
int row,
const LibPath& path);
52 void moveRow(
int from,
int to);
53 void removeRow(
int row);
55 [[nodiscard]] QString name(
int idx)
const;
56 [[nodiscard]] QString path(
int idx)
const;