Commit graph

16 commits

Author SHA1 Message Date
d965371d23 Use kdelibs coding style 2015-03-21 23:05:57 +01:00
adb33895fa Expose the sampleUrl to the model 2015-02-26 00:21:19 +01:00
4955cc93bd Allow sending tags as well as the selected URL
This required two changes:

1. in the QML view, the signal has been changed to url, var
2. the model directly outputs a QStringList for ease of use
2015-02-24 00:15:57 +01:00
42050df412 Port models away from deprecated Qt5 API 2015-02-22 12:00:24 +01:00
b6d71f3cbf --pedantic; 2015-02-22 10:49:29 +01:00
8b56570223 Normalize license headers in all source files 2015-02-21 14:57:16 +01:00
942d1ffd1e Keep a set of all the tags from the posts stored
This allows later on to get post-specific tags.
2015-02-20 23:35:13 +01:00
d914dd9744 Extract tags from the model using TagRole 2015-02-08 10:17:59 +01:00
b88e8a6268 Clean up the model
Add custom roles for QML
Set roleNames()
Use switch() instead of if()
Remove PixmapRole, DecorationRole is enough
2015-02-05 23:48:40 +01:00
b0185c136b Add custom roles to the post model and export them to QML 2015-02-05 00:29:41 +01:00
f470558d20 Clean up includes 2014-10-12 14:27:44 +02:00
39aac8c95b Run astyle-kdelibs on the source 2014-10-05 09:53:19 +02:00
bcd24e9381 No longer a QPixmap pointer 2014-10-04 11:04:18 +02:00
3c9a4de1ad Fix the model (same issue as in Holiday Planner, beginInsertRows is inclusive) 2014-03-23 20:55:32 +01:00
521bdad42c Add a clear() method to empty the list of the model (better than
creating a new one every time) and rename m_posts to m_items
2013-07-28 17:13:28 +02:00
41be285e07 Rename DanbooruTableModel to DanbooruPostModel, as it's clearer what it
does
2013-07-28 17:11:50 +02:00
Renamed from src/model/danboorutablemodel.cpp (Browse further)