From 9a49a1830a95301c90bba58cb111a6766617b42b Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Thu, 28 Aug 2014 09:24:45 +0200 Subject: [PATCH] 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. --- src/libdanbooru/danbooru.h | 34 ------------------------------- src/libdanbooru/danboorupost.h | 37 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 34 deletions(-) diff --git a/src/libdanbooru/danbooru.h b/src/libdanbooru/danbooru.h index 35284ab..b1cef14 100644 --- a/src/libdanbooru/danbooru.h +++ b/src/libdanbooru/danbooru.h @@ -34,40 +34,6 @@ **/ namespace Danbooru { - /** - * @brief Types of tags - * - * A Danbooru tag is not simply a string, but carries some (limited) - * semantic information. In particular, tags are organized in what they - * refer to, either something related to the image itself, or to the - * artist that drew it, or the copyrights associated to the image, or even - * the characters that are represented in it. - * - **/ - enum TagType { - General = 1, /**< Generic tags **/ - Artist = 2, /**< Tags related to artists **/ - Copyright = 4, /** tags READ tags) Q_PROPERTY(KUrl thumbnailUrl READ thumbnailUrl) + public: + + /** + * @brief Types of tags + * + * A Danbooru tag is not simply a string, but carries some (limited) + * semantic information. In particular, tags are organized in what they + * refer to, either something related to the image itself, or to the + * artist that drew it, or the copyrights associated to the image, or even + * the characters that are represented in it. + * + **/ + + enum TagType { + General = 1, /**< Generic tags **/ + Artist = 2, /**< Tags related to artists **/ + Copyright = 4, /**