mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
A?adida la toolbar para la gesti?n de c?mics + im?genes para los iconos Modificado el di?logo de informaci?n/propiedades de los c?mics
24 lines
605 B
C++
24 lines
605 B
C++
#ifndef __COMIC_H
|
|
#define __COMIC_H
|
|
|
|
#include "library_item.h"
|
|
#include <QSqlDatabase>
|
|
#include <QList>
|
|
|
|
class Comic : public LibraryItem
|
|
{
|
|
public:
|
|
qulonglong comicInfoId;
|
|
QString hash;
|
|
|
|
Comic();
|
|
Comic(qulonglong cparentId, qulonglong ccomicInfoId, QString cname, QString cpath, QString chash);
|
|
//Comic(QString fn, QString fp):name(fn),path(fp),knownParent(false), knownId(false){};
|
|
qulonglong insert(QSqlDatabase & db);
|
|
static QList<LibraryItem *> getComicsFromParent(qulonglong parentId, QSqlDatabase & db);
|
|
bool isDir();
|
|
void removeFromDB(QSqlDatabase & db);
|
|
};
|
|
|
|
|
|
#endif |