Move ApiType to the Danbooru namespace to prevent circular includes

Adjust all signatures to match for this change
This commit is contained in:
Luca Beltrame 2015-08-26 16:23:25 +02:00
parent e806ab602f
commit d3da86ff28
5 changed files with 98 additions and 36 deletions

View file

@ -66,14 +66,16 @@ const QLatin1String KonachanDanbooruService::relatedTagUri() const {
// Other methods
////////////////
SupportedOperations KonachanDanbooruService::supportedOperations() const {
DanbooruServiceBase::SupportedOperations KonachanDanbooruService::supportedOperations() const {
return PostDownload | PoolDownload | TagDownload | TagSearch | RelatedTagSearch;
return SupportedOperations(DanbooruServiceBase::PostDownload | DanbooruServiceBase::PoolDownload |
DanbooruServiceBase::TagDownload | DanbooruServiceBase::TagSearch |
DanbooruServiceBase::RelatedTagSearch);
}
ApiType KonachanDanbooruService::apiType() const {
return KonachanDanbooru;
Danbooru::ApiType KonachanDanbooruService::apiType() const {
return Danbooru::ApiType::KonachanDanbooru;
}
KonachanDanbooruService::~KonachanDanbooruService() {