Add a reset() function to reset the service to default settings
This commit is contained in:
parent
1b9c0adaa8
commit
aaf8adf560
2 changed files with 25 additions and 6 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue