mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 00:44:59 -04:00
Added support for dropping folders to import them. TODO update the foldersView properly (now all the tree model is reloaded).
This commit is contained in:
@ -9,9 +9,9 @@ class ComicFilesManager : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ComicFilesManager(QObject *parent = 0);
|
||||
void copyComicsTo(const QList<QString> & sourceComics, const QString & folderDest);
|
||||
void moveComicsTo(const QList<QString> & comics, const QString & folderDest);
|
||||
|
||||
void copyComicsTo(const QList<QPair<QString,QString> > & sourceComics, const QString & folderDest);
|
||||
void moveComicsTo(const QList<QPair<QString,QString> > & comics, const QString & folderDest);
|
||||
static QList<QPair<QString, QString> > getDroppedFiles(const QList<QUrl> & urls);
|
||||
signals:
|
||||
void currentComic(QString);
|
||||
void progress(int);
|
||||
@ -24,7 +24,7 @@ public slots:
|
||||
protected:
|
||||
bool move;
|
||||
bool canceled;
|
||||
QList<QString> comics;
|
||||
QList<QPair<QString,QString> > comics;
|
||||
QString folder;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user