Allow getting pool pages as well as posts

Currently this clashes, meaning that there will be problems if you get
pools and then posts...
This commit is contained in:
Luca Beltrame 2015-03-01 22:34:14 +01:00
parent 786c8d1f44
commit feded2bdf3
2 changed files with 26 additions and 13 deletions

View file

@ -317,7 +317,8 @@ const QStringList DanbooruService::allowedRatings() const
}
int DanbooruService::currentPage() const {
int DanbooruService::currentPage() const
{
return m_currentPage;
}
@ -340,6 +341,13 @@ void DanbooruService::nextPostPage()
getPostList();
}
void DanbooruService::nextPoolPage()
{
m_currentPage++;
getPoolList();
}
QStringList DanbooruService::postTags() const
{
return m_tags;