summaryrefslogtreecommitdiffstats
path: root/seriestreemodel.h
Commit message (Collapse)AuthorAgeFilesLines
* SeriesTreeModel::findMoviesArno2010-06-181-0/+1
| | | | | Implemented function to return a QFileInfoList of only the movies for a given QModelIndex.
* Implemented SeriesTreeModel::deleteFromSeriesArno Moeller2010-06-181-1/+2
| | | | It compiles, let's ship it. Totally untested.
* SeriesTreeModel::findFilesArno2010-06-171-0/+7
| | | | | | Implemented SeriesTreeModel::findFiles in preparation for deleting files from SeriesTreeView. Totally untested, of course, and the new action in SheMov doesn't do anything.
* Finished New series in SeriesTreeWidgetArno2010-06-171-0/+4
| | | | | | | | Another not so atomic commit. Inserting a new serie by triggering the action in the context menu now works. While at it I revamped setData and put the if/elses into functions. Also fixed a bug in setData: Use TypeRole instead of the Fields enum.
* Partial implementation of adding new SeriesArno Moeller2010-06-171-1/+1
| | | | | | Adding an item to the TreeView works, but it doesn't get focus after inserting. Also the data is not shown. And setting the title of the new item should make the database puke.
* GUI fixesArno Moeller2010-06-171-0/+3
| | | | | -Hide columns 1 - 5 in SeriesTreeWidget -Resort SeriesTreeWidget when SeriesName is changed
* Treemodel DevelopmentArno2010-06-161-0/+43
-Changed the database schema. Attached quality to files -Subclassed SmTreeModel for SeriesTreeModel -Made SmTreeModel virtual for that Well, it seems there is a serious problem with the database schema. Curiously everything inside the model works beside the db update. Seems I have it wrong with the fks :(