New method for getting the comics in a tag (aka label).

This commit is contained in:
Luis Ángel San Martín
2016-08-22 23:03:18 +02:00
parent 9cfb4e0f38
commit b0b13de52d
2 changed files with 44 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public:
static QString getFolderName(qulonglong libraryId, qulonglong id);
static QList<QString> getLibrariesNames();
static QString getLibraryName(int id);
static QList<ComicDB> getLabelComics(qulonglong libraryId, qulonglong labelId);
//objects management
//deletes
@ -75,6 +76,7 @@ public:
static QList<ComicDB> getSortedComicsFromParent(qulonglong parentId, QSqlDatabase & db);
static QList<LibraryItem *> getComicsFromParent(qulonglong parentId, QSqlDatabase & db, bool sort = true);
static QList<LabelItem *> getLabelItems(qulonglong libraryId);
//load
static Folder loadFolder(qulonglong id, QSqlDatabase & db);
static Folder loadFolder(const QString & folderName, qulonglong parentId, QSqlDatabase & db);