mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Make possible to cancel updates/creations
This commit is contained in:
@ -26,7 +26,8 @@ public:
|
||||
void createLibrary(const QString &source, const QString &target);
|
||||
void updateLibrary(const QString &source, const QString &target);
|
||||
void updateFolder(const QString &source, const QString &target, const QString &folder, const QModelIndex &dest);
|
||||
void stop();
|
||||
void stop(); // used to stop the process and keep the changes
|
||||
void cancel(); // cancels this run and changes in the DB are rolled back
|
||||
|
||||
private:
|
||||
void processLibrary(const QString &source, const QString &target);
|
||||
@ -51,6 +52,7 @@ private:
|
||||
// qulonglong insertFolder(qulonglong parentId,const Folder & folder);
|
||||
// qulonglong insertComic(const Comic & comic);
|
||||
bool stopRunning;
|
||||
bool canceled;
|
||||
// LibraryCreator está en modo creación si creation == true;
|
||||
bool creation;
|
||||
bool partialUpdate;
|
||||
|
Reference in New Issue
Block a user