diff options
Diffstat (limited to 'filestreemodel.h')
-rw-r--r-- | filestreemodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filestreemodel.h b/filestreemodel.h index ffa23f8..1e3f40e 100644 --- a/filestreemodel.h +++ b/filestreemodel.h @@ -30,10 +30,14 @@ class FilesTreeModel : public SmTreeModel { bool setData(const QModelIndex &index, const QVariant &value, int role); Qt::ItemFlags flags(const QModelIndex &index) const; + //file manipulation + bool addFile(const QString &fullPath, int type, int quality, int filePart, int seriesPartId, int dvd = -1); + private: QSqlDatabase mDb; QSqlQuery *mUpdateDvdQuery; QSqlQuery *mUpdateQualityQuery; + QSqlQuery *mInsertFileQuery; }; #endif // FILESTREEMODEL_H |