bookmarks and image optiones are now stored in the library for each comic

This commit is contained in:
Luis Ángel San Martín
2013-08-18 22:06:59 +02:00
parent 2dd51a0df7
commit db9aad8521
18 changed files with 599 additions and 353 deletions

View File

@ -12,6 +12,8 @@
#include "poppler-qt4.h"
class ComicDB;
class Comic : public QObject
{
Q_OBJECT
@ -43,6 +45,7 @@
void setup();
//Load pages from file
virtual bool load(const QString & path, int atPage = -1) = 0;
virtual bool load(const QString & path, const ComicDB & comic){return false;};
/*void loadFromFile(const QString & pathFile);
void loadFromDir(const QString & pathDir);
@ -95,6 +98,7 @@
~FileComic();
void fileExtracted(int index, const QByteArray & rawData);
virtual bool load(const QString & path, int atPage = -1);
virtual bool load(const QString & path, const ComicDB & comic);
void crcError(int index);
void unknownError(int index);
public slots:
@ -132,6 +136,7 @@
~PDFComic();
virtual bool load(const QString & path, int atPage = -1);
virtual bool load(const QString & path, const ComicDB & comic);
public slots:
void process();
};