void remove(FileManipulatorThread* manipulator);
void setBarSize(FileManipulatorThread* manipulator, unsigned int size);
void updateProgress(FileManipulatorThread* manipulator, int value);
+ void updateMainText(FileManipulatorThread* manipulator, const QString &text);
void showPaused(FileManipulatorThread* manipulator);
void togglePauseOperation(FileManipulatorThread* manipulator);
void caterNewThread(FileManipulatorThread *thread);
QList<FileManipulatorThread*> manipulatorList;
+ QPixmap deleteIcon, inverseDeleteIcon, copyIcon, inverseCopyIcon, moveIcon, inverseMoveIcon;
};
// 1 for a file and file count for dirs (or both for copy&delete)
QMap<QString, qint64> fileSizeMap;
- // the name of the file thats being processed (for progressBar) and the text of the progressBar (the format)
- QString fileName, barText;
+ // the text of the progressBar (the format)
+ QString barText;
// stamp of the last ETA recalculation - done every second
time_t lastTimeUpdate;
time_t startTime, waitTime;
void finished(FileManipulatorThread*);
void setBarSize(FileManipulatorThread*, unsigned int);
void updateProgress(FileManipulatorThread*, int);
+ void updateFileName(FileManipulatorThread*, QString);
void operationPaused(FileManipulatorThread*);
};