#define FILEOPERATOR_H
#include <QWidget>
+#include <QHBoxLayout>
#include "progressbar.h"
#include "operationthread.h"
void initOperation(OperationThread *thread, ProgressBar *bar);
ProgressBar *get(OperationThread *op) const;
OperationThread *get(ProgressBar *bar) const;
+ void addBarToLayout(ProgressBar *bar);
+ void removeBarFromLayout(ProgressBar *bar);
+
+ bool checkMaxOpsNumber();
OperationList opList;
QPixmap deleteIcon, inverseDeleteIcon, copyIcon, inverseCopyIcon, moveIcon, inverseMoveIcon;
+ QHBoxLayout *topRow, *bottomRow;
};
#endif // FILEOPERATOR_H