Fix problems with missing safety checks in Render::fillBuffer and pdfcomic

This commit is contained in:
Felix Kauselmann
2017-09-27 22:00:00 +02:00
commit 958003f52f
1042 changed files with 102627 additions and 0 deletions

View File

@ -0,0 +1,31 @@
#ifndef YACREADERCOMICINFOHELPER_H
#define YACREADERCOMICINFOHELPER_H
#include <QObject>
class ComicModel;
class YACReaderComicInfoHelper : public QObject
{
Q_OBJECT
public:
explicit YACReaderComicInfoHelper(QObject *parent = 0);
void setModel(ComicModel *model);
Q_INVOKABLE void rate(int index, int rating);
Q_INVOKABLE void setRead(int index, bool read);
Q_INVOKABLE void addToFavorites(int index);
Q_INVOKABLE void removeFromFavorites(int index);
signals:
public slots:
protected:
ComicModel *model;
};
#endif // YACREADERCOMICINFOHELPER_H