[libdanbooru] First stab at making everything compile

This commit is contained in:
Luca Beltrame 2014-10-04 00:04:02 +02:00
parent 2ab1c72a7e
commit d96b7bdaf2
2 changed files with 13 additions and 12 deletions

View file

@ -41,23 +41,24 @@
// KDE
#include <QUrl>
#include <KIO/JobClasses>
#include <kio/storedtransferjob.h>
// Own
#include "danbooru.h"
#include "danboorupost.h"
#include "danboorutag.h"
class QPixmap;
class QUrl;
class KJob;
class KImageCache;
using Danbooru::DanbooruTag;
namespace Danbooru {
class DanbooruPost;
class DanbooruPool;
class DanbooruTag;
using KIO::StoredTransferJob;
@ -93,7 +94,7 @@ namespace Danbooru {
QString m_username;
QString m_password;
QSet<QString> m_blacklist;
Ratings m_maxRating;
Danbooru::DanbooruPost::Rating m_maxRating;
unsigned int m_currentPosts; // To tell when to quit
@ -171,7 +172,7 @@ namespace Danbooru {
* @param tags The tags to query for related terms
* @param tagType The type of tag to query for
**/
void getRelatedTags(const QStringList& tags, Danbooru::TagType tagType = General);
void getRelatedTags(const QStringList& tags, DanbooruTag::TagType tagType = DanbooruTag::General);
/**
* @return The currently allowed ratings when downloading posts.