diff options
author | Arno <am@disconnect.de> | 2010-07-08 22:58:55 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-07-08 22:58:55 +0200 |
commit | 36d60fc19f6cbc1a76931479664589544411763b (patch) | |
tree | ff4f8eee9b665b8dced009823a80d3166c0c140c /seriestreemodel.h | |
parent | 7d0dbd9c36b1b2df787158abf745fff527dd18d2 (diff) | |
download | SheMov-36d60fc19f6cbc1a76931479664589544411763b.tar.gz SheMov-36d60fc19f6cbc1a76931479664589544411763b.tar.bz2 SheMov-36d60fc19f6cbc1a76931479664589544411763b.zip |
Preparations for NewMovieWizard::accept
-new memfunc: SeriesTreeModel::addSeries
-new memfunc: SeriesTreeModel::addSeriesPart
started FilesTreeModel::addFile, not finished yet.
Diffstat (limited to 'seriestreemodel.h')
-rw-r--r-- | seriestreemodel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/seriestreemodel.h b/seriestreemodel.h index 416e43c..b25198b 100644 --- a/seriestreemodel.h +++ b/seriestreemodel.h @@ -38,8 +38,10 @@ class SeriesTreeModel : public SmTreeModel { QFileInfoList findSortedMovies(const QModelIndex &from) const; int findNextDvdNo() const; - //delete + //series data manipulation bool deleteFromSeries(const QModelIndex &what); + bool addSeries(const QVariant &seriesName, const QModelIndex &parent); + bool addSeriesPart(int seriesPart, const QModelIndex &parent); signals: void needResort(); @@ -58,6 +60,7 @@ class SeriesTreeModel : public SmTreeModel { QSqlQuery *mSeriesInsertQuery; QSqlQuery *mSeriesFilesQuery; QSqlQuery *mSeriesPartFilesQuery; + QSqlQuery *mSeriesPartInsertQuery; QSqlQuery *mSortedMovieListQuery; QSqlQuery *mNextDvdNoQuery; }; |