summaryrefslogtreecommitdiff
path: root/plugins-alternative/Themes/Teracopy/interface.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
commite297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch)
tree342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /plugins-alternative/Themes/Teracopy/interface.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'plugins-alternative/Themes/Teracopy/interface.h')
-rw-r--r--plugins-alternative/Themes/Teracopy/interface.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins-alternative/Themes/Teracopy/interface.h b/plugins-alternative/Themes/Teracopy/interface.h
index 865456e..899a03b 100644
--- a/plugins-alternative/Themes/Teracopy/interface.h
+++ b/plugins-alternative/Themes/Teracopy/interface.h
@@ -16,6 +16,7 @@
#include "ui_interface.h"
#include "Environment.h"
+#include "TransferModel.h"
namespace Ui {
class interfaceCopy;
@@ -42,11 +43,6 @@ private:
QString current_file;
int progressBar_file;
};
- struct graphicItem
- {
- quint64 id;
- QTreeWidgetItem * item;
- };
Ui::interfaceCopy *ui;
quint64 currentFile;
quint64 totalFile;
@@ -57,7 +53,6 @@ private:
EngineActionInProgress action;
void closeEvent(QCloseEvent *event);
QList<ItemOfCopyListWithMoreInformations> currentProgressList;
- QList<graphicItem> graphicItemList;
QString speedString;
bool storeIsInPause;
bool modeIsForced;
@@ -74,8 +69,8 @@ private:
currentTransfertItem getCurrentTransfertItem();
QList<quint64> startId,stopId;///< To show what is started, what is stopped
QList<ItemOfCopyListWithMoreInformations> InternalRunningOperation;///< to have progression and stat
- QHash<quint64,QTreeWidgetItem *> InternalRunningOperationGraphic;
- QIcon iconStart,iconPause,iconStop;
+ /// \brief the custom transfer model
+ TransferModel transferModel;
public:
//send information about the copy
/// \brief to set the action in progress