yacreader/YACReaderLibrary/yacreader_comic_info_helper.h
Anon789 dd381df7b7 yacreader_ru.ts
Correcting errors in words and their meanings. Update the Russian language. Now look better.
2018-02-24 18:11:53 +00:00

32 lines
618 B
C++

#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