From 4547000491c16d6bd877a6623e1badaddd0a6fe2 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 22 Aug 2015 18:21:28 +0200 Subject: [PATCH] Adjust virtual / non virtual for some methods --- src/libdanbooru/servicebase.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libdanbooru/servicebase.h b/src/libdanbooru/servicebase.h index 3b075ea..ab0f06e 100644 --- a/src/libdanbooru/servicebase.h +++ b/src/libdanbooru/servicebase.h @@ -111,7 +111,7 @@ public: /** * @brief Return the api type of the searvice. **/ - int apiType() const; + virtual Danbooru::ApiType apiType() const; /** * @brief Return the blacklisted tags for the service @@ -152,15 +152,14 @@ public: /** * @brief Move to the next pool page and retrieve new posts associated to the pool. - * The default implementation does nothing. * **/ - Q_INVOKABLE virtual void nextPoolPage(); + Q_INVOKABLE void nextPoolPage(); /** * @return A QStringList containing the currently-selected tags **/ - QStringList postTags(); + QStringList postTags() const; /** * @brief Resets the service to the default state, clearing the page counters.