mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
Added drop support for copying/moving files in the folders view
This commit is contained in:
@ -201,6 +201,7 @@ private:
|
||||
|
||||
//QModelIndex _rootIndex;
|
||||
//QModelIndex _rootIndexCV;
|
||||
QModelIndex copyMoveIndexDestination;
|
||||
|
||||
quint64 _comicIdEdited;
|
||||
|
||||
@ -324,9 +325,13 @@ public slots:
|
||||
void loadCoversFromCurrentModel();
|
||||
void copyAndImportComicsToCurrentFolder(const QList<QString> & comics);
|
||||
void moveAndImportComicsToCurrentFolder(const QList<QString> &comics);
|
||||
void copyAndImportComicsToFolder(const QList<QString> & comics, const QModelIndex & miFolder);
|
||||
void moveAndImportComicsToFolder(const QList<QString> & comics, const QModelIndex & miFolder);
|
||||
void processComicFiles(ComicFilesManager * comicFilesManager, QProgressDialog * progressDialog);
|
||||
void updateCurrentFolder(); //imports new comics from the current folder
|
||||
void updateCopyMoveFolderDestination(); //imports new comics from the current folder
|
||||
QProgressDialog * newProgressDialog(const QString & label, int maxValue);
|
||||
void reloadAfterCopyMove();
|
||||
QModelIndex getCurrentFolderIndex();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user