[libdanbooru/danbooruservice] Fixup types and flags
This commit is contained in:
parent
324bacda52
commit
ce6a1cbcff
2 changed files with 17 additions and 16 deletions
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include <QUrl>
|
||||
#include <kio/storedtransferjob.h>
|
||||
#include <KImageCache>
|
||||
|
||||
// Own
|
||||
|
||||
|
@ -52,7 +53,6 @@
|
|||
class QPixmap;
|
||||
class QUrl;
|
||||
class KJob;
|
||||
class KImageCache;
|
||||
|
||||
using Danbooru::DanbooruTag;
|
||||
|
||||
|
@ -94,7 +94,7 @@ namespace Danbooru {
|
|||
QString m_username;
|
||||
QString m_password;
|
||||
QSet<QString> m_blacklist;
|
||||
Danbooru::DanbooruPost::Rating m_maxRating;
|
||||
DanbooruPost::Ratings m_maxRating;
|
||||
|
||||
unsigned int m_currentPosts; // To tell when to quit
|
||||
|
||||
|
@ -182,7 +182,7 @@ namespace Danbooru {
|
|||
/**
|
||||
* @return The maximum allowed rating for a post.
|
||||
**/
|
||||
const Ratings maximumAllowedRating() const;
|
||||
const DanbooruPost::Ratings maximumAllowedRating() const;
|
||||
|
||||
/**
|
||||
* @return The currently blacklisted tags.
|
||||
|
@ -198,7 +198,7 @@ namespace Danbooru {
|
|||
* downloaded.
|
||||
*
|
||||
**/
|
||||
void setMaximumAllowedRating(const Ratings& rating);
|
||||
void setMaximumAllowedRating(DanbooruPost::Rating rating);
|
||||
|
||||
/**
|
||||
* @brief Set the tag blacklist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue