Move ApiType to the Danbooru namespace to prevent circular includes
Adjust all signatures to match for this change
This commit is contained in:
parent
e806ab602f
commit
d3da86ff28
5 changed files with 98 additions and 36 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue