summaryrefslogtreecommitdiffstats
path: root/smubermodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Singleton cleanupArno2010-06-231-61/+0
| | | | | | | | | | The SmUberModel class wasn't needed at all, so I removed it. Instead I renamed SmUmberModelSingleton into a real singleton for all QAbstractItemModel*, though right now it only supports the SeriesTreeModel and FileTreeModel. But it should eventually evolve into a singleton for all QAbstractItemModel *. For this I renamed the class SmUberModelSingleton to SmModelSingleton.
* Fixed SeriesTreeModelArno Moeller2010-06-171-2/+4
| | | | | There was no serious problem with the database schema. Maybe I should have gone to bed earlier. Updating and changing series names now works.
* Treemodel DevelopmentArno2010-06-161-7/+10
| | | | | | | | | | -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 :(
* Implemented SeriesTreeWidgetArno2010-06-131-1/+1
| | | | | | | | | Implemented a widget for showing series in a tree. Also implemented filtering and sorting for this widget. Some bugfixes and enhancements: -Show dildo as DecorationRole in SeriesWidget -removed Quality from SeriesWidget
* Made ArchiveTreeView workArno2010-06-121-3/+5
| | | | | Made ArchiveTreeView work and took a look at it. Right now flat view seems to be the better alternative.
* Implemented SmUberModel::populateSeriesModelArno2010-06-121-0/+40
| | | | | | Implemented SmUberModel::populateSeriesModel(). Created a new QSqlDatabase with hardcoded access data for refactoring. This will change once the new schema is working.
* Finished SmTreeModel, started SmUberModelArno2010-06-061-0/+14
kinda finished the treemodel. Don't really know if it's complete yet. More programming will show :)