Add a reset() function to reset the service to default settings

This commit is contained in:
Luca Beltrame 2015-02-14 14:45:29 +01:00
parent 1b9c0adaa8
commit aaf8adf560
2 changed files with 25 additions and 6 deletions

View file

@ -198,10 +198,21 @@ public:
**/
int maxPosts() const;
/**
* @brief Fetches the next page of posts.
*
* @return void
*/
Q_INVOKABLE void nextPostPage();
/**
* @return A QStringList containing the currently-selected tags
*/
QStringList postTags() const;
void reset();
/**
* @brief Set blacklisted tags.
*
@ -230,9 +241,6 @@ public:
**/
void setMaximumAllowedRating(DanbooruPost::Rating rating);
/**
* @brief Set the board URL to connect to.
*
@ -241,7 +249,6 @@ public:
*/
void setBoardUrl(const QUrl& url);
/**
* @brief Set an image cache to use.
*