mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Format code using clang-format
This commit is contained in:
@ -6,16 +6,15 @@
|
||||
#include <QPair>
|
||||
#include <QModelIndex>
|
||||
|
||||
|
||||
//this class is intended to work in background, just use moveToThread and process to start working
|
||||
class ComicFilesManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ComicFilesManager(QObject *parent = 0);
|
||||
void copyComicsTo(const QList<QPair<QString,QString> > & sourceComics, const QString & folderDest, const QModelIndex &dest);
|
||||
void moveComicsTo(const QList<QPair<QString,QString> > & comics, const QString & folderDest, const QModelIndex &dest);
|
||||
static QList<QPair<QString, QString> > getDroppedFiles(const QList<QUrl> & urls);
|
||||
void copyComicsTo(const QList<QPair<QString, QString>> &sourceComics, const QString &folderDest, const QModelIndex &dest);
|
||||
void moveComicsTo(const QList<QPair<QString, QString>> &comics, const QString &folderDest, const QModelIndex &dest);
|
||||
static QList<QPair<QString, QString>> getDroppedFiles(const QList<QUrl> &urls);
|
||||
signals:
|
||||
void currentComic(QString);
|
||||
void progress(int);
|
||||
@ -28,10 +27,9 @@ public slots:
|
||||
protected:
|
||||
bool move;
|
||||
bool canceled;
|
||||
QList<QPair<QString,QString> > comics;
|
||||
QList<QPair<QString, QString>> comics;
|
||||
QString folder;
|
||||
QModelIndex folderDestinationModelIndex;
|
||||
|
||||
};
|
||||
|
||||
#endif // COMIC_FILES_MANAGER_H
|
||||
|
Reference in New Issue
Block a user