adding idx to all models
This commit is contained in:
parent
b80ee44abc
commit
d633a25ebe
6 changed files with 22 additions and 1 deletions
|
@ -75,7 +75,8 @@ public:
|
|||
~VideoProxyModel() = default;
|
||||
|
||||
VideoSqlModel *videoModel();
|
||||
|
||||
Q_INVOKABLE QModelIndex idx(int row);
|
||||
|
||||
public slots:
|
||||
Q_INVOKABLE QVariantMap getVideo(const int &row);
|
||||
Q_INVOKABLE void deleteVideo(const int &row);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue