mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
29 lines
491 B
C++
29 lines
491 B
C++
#ifndef COMICS_REMOVER_H
|
|
#define COMICS_REMOVER_H
|
|
|
|
#include <QThread>
|
|
|
|
#include <QModelIndex>
|
|
#include <comic_db.h>
|
|
|
|
class ComicsRemover : public QThread
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ComicsRemover(QModelIndexList & indexList, QList<QString> & paths, QObject *parent = 0);
|
|
|
|
signals:
|
|
void remove(int);
|
|
void removeError();
|
|
void finished();
|
|
|
|
private:
|
|
void run();
|
|
|
|
private:
|
|
QModelIndexList indexList;
|
|
QList<QString> paths;
|
|
};
|
|
|
|
#endif // COMICS_REMOVER_H
|