6ee35b842c
Add support to enable fetching from QML
2015-02-05 23:49:26 +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
f8b59e78b5
Clean up DanbooruService
...
Remove multi_get for now (broken in kio_http)
Add a default constructor (needed for QML)
Explicitly delete posts
2015-02-05 23:47:29 +01:00
719ef7ecaa
Add an (experimental) QML view for the grid
...
Already works better than the C++ version.
2015-02-05 00:30:26 +01:00
b0185c136b
Add custom roles to the post model and export them to QML
2015-02-05 00:29:41 +01:00
4fbfdf753e
Add a default constructor for DanbooruPost
2015-02-05 00:28:02 +01:00
1adeaa4063
Bump KF5 requirement to 5.7.0 and Qt to 5.4
2015-02-05 00:26:21 +01:00
5bb326eb39
Add an .arcconfig file for the Phabricator instance
2015-01-25 23:07:41 +01:00
f470558d20
Clean up includes
2014-10-12 14:27:44 +02:00
06f4f8d1fc
[libdanbooru/danbooruservice] This is also unneeded
2014-10-06 20:52:07 +02:00
d5e807791e
[libdanbooru/danbooruservice] These slots are unneeded now
2014-10-06 20:49:53 +02:00
39aac8c95b
Run astyle-kdelibs on the source
2014-10-05 09:53:19 +02:00
4b85d63d68
Use lambdas for most of the jobs
2014-10-05 09:51:26 +02:00
3f760a7690
[libdanbooru/danbooruservice] Move thumbnail downloading to a lambda
...
slot
This greatly reduces complexity and prevents the ugly passing of
properties along the jobs.
2014-10-04 15:36:10 +02:00
66cd4f46d1
[libdanbooru/utils] Add a convenience function to check if a post is
...
unwanted
This is mainly done to reduce the complexity of the post handing in
DanbooruService.
2014-10-04 15:35:03 +02:00
d99fd19d22
[danbooruservice] Check the blacklist outside the loop
...
Otherwise we keep on accessing a deleted post and we crash
2014-10-04 11:13:32 +02:00
fe630c753e
Suppress "discards qualifiers" warning
2014-10-04 11:08:22 +02:00
8545ad84a8
Don't create a temporary QSet to check the blacklist
2014-10-04 11:07:41 +02:00
08b32208f0
Use KFormat instead of KGlobal
2014-10-04 11:05:48 +02:00
02b7e0b9bc
Port to Qt5's internal JSON parser
...
Unfortunately the QVariant conversions need to be done as we still need
to handle the XML part
2014-10-04 11:05:02 +02:00
4a1cdc023b
DeprecatedClasses--;
2014-10-04 11:04:41 +02:00
bcd24e9381
No longer a QPixmap pointer
2014-10-04 11:04:18 +02:00
2d5fef28fa
Porting++, correct includes and signals
2014-10-04 11:03:40 +02:00
36388e667f
Use the right KRun syntax
2014-10-04 11:03:15 +02:00
549a2b43b5
Link against KDELibs4Support and KWallet
2014-10-04 10:59:33 +02:00
d9e9c03227
Add KWallet for handling passwords
2014-10-04 10:59:11 +02:00
ce6a1cbcff
[libdanbooru/danbooruservice] Fixup types and flags
2014-10-04 00:41:01 +02:00
324bacda52
[libdanbooru] Fixup QFlags
2014-10-04 00:40:37 +02:00
d96b7bdaf2
[libdanbooru] First stab at making everything compile
2014-10-04 00:04:02 +02:00
2ab1c72a7e
[libdanbooru] Fix type for tags
2014-10-04 00:03:24 +02:00
f22c0b6d94
Move to the new rating structure
2014-10-04 00:03:01 +02:00
25ee41c5e8
[libdanbooru] libdanbooru needs KIO
2014-10-04 00:02:25 +02:00
428b28db36
Proper set up of dependencies
2014-10-04 00:02:09 +02:00
70413c7232
Move target_link_libraries after definiing the target
2014-10-04 00:01:42 +02:00
8e2e9ecbc3
Convert to the new signal-slot syntax
2014-10-03 23:17:52 +02:00
55a866dbf3
Use K4AboutData for the time being
2014-10-03 23:13:04 +02:00
c32637cafa
KPushButton -> QPushButton
2014-10-03 23:07:26 +02:00
d7fec181e2
KUrl -> QUrl
2014-10-03 23:06:43 +02:00
0eb716bda0
Add this to be safe to ensure that includes are picked up
2014-10-03 23:06:22 +02:00
880417502a
KLineEdit/QLineEdit
2014-10-03 23:04:09 +02:00
e2cdec1947
KIcon -> QIcon
2014-10-03 23:02:19 +02:00
a568beac2a
kDebug / qDebug
2014-10-03 23:00:55 +02:00
0269c6d1bd
Initial (scripted) port to QCommandLineParser
2014-10-03 22:59:20 +02:00
975053753b
KAction / QAction
2014-10-03 22:58:56 +02:00
2d8d230170
Port to KF5, step 1: CMakeLists
2014-10-03 22:52:38 +02:00
6533b64a22
Initial work to make enums saner
2014-08-29 10:13:53 +02:00
bcecd30031
Coding style
2014-08-28 09:46:59 +02:00
1de6786a9e
Move the tag types where they belong
2014-08-28 09:45:36 +02:00
fce61f8c9b
Adjust the README slightly
2014-08-28 09:25:53 +02:00
9a49a1830a
Move the tag and rating information
...
Perhaps tags should be made a struct instead, but for the moment they've been moved, along with the ratings, to DanbooruPost as they're properties of the post.
2014-08-28 09:24:45 +02:00