mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 17:04:45 -04:00
Added drop support for copying/moving comics in the current folder
This commit is contained in:
@ -56,6 +56,8 @@ class ComicsViewTransition;
|
||||
class EmptyFolderWidget;
|
||||
class NoSearchResultsWidget;
|
||||
class EditShortcutsDialog;
|
||||
class ComicFilesManager;
|
||||
class QProgressDialog;
|
||||
|
||||
#include "comic_db.h"
|
||||
|
||||
@ -227,6 +229,7 @@ private:
|
||||
//void enableLibraryActions();
|
||||
|
||||
QString currentPath();
|
||||
QString currentFolderPath();
|
||||
|
||||
//settings
|
||||
QSettings * settings;
|
||||
@ -319,6 +322,11 @@ public slots:
|
||||
void toggleComicsView();
|
||||
void checkSearchNumResults(int numResults);
|
||||
void loadCoversFromCurrentModel();
|
||||
void copyAndImportComicsToCurrentFolder(const QList<QString> & comics);
|
||||
void moveAndImportComicsToCurrentFolder(const QList<QString> &comics);
|
||||
void processComicFiles(ComicFilesManager * comicFilesManager, QProgressDialog * progressDialog);
|
||||
void updateCurrentFolder(); //imports new comics from the current folder
|
||||
QProgressDialog * newProgressDialog(const QString & label, int maxValue);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user