summaryrefslogtreecommitdiff
path: root/StructEnumDefinition.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:45 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-24 00:13:46 +0000
commit0fa6fb5a53789434e6ef57af39ab9024b7ec7d50 (patch)
tree9854613566cca815292f6fcad8e4d678afa30a9a /StructEnumDefinition.h
parent2124f782c35cd832460d070186eaf72d935c1bdb (diff)
parentb00b0c864574c3842effe1705b66066fa228f950 (diff)
merge patched into master
Diffstat (limited to 'StructEnumDefinition.h')
-rw-r--r--StructEnumDefinition.h31
1 files changed, 15 insertions, 16 deletions
diff --git a/StructEnumDefinition.h b/StructEnumDefinition.h
index 0d3eb68..e8f8de2 100644
--- a/StructEnumDefinition.h
+++ b/StructEnumDefinition.h
@@ -3,9 +3,8 @@
\author alpha_one_x86
\licence GPL3, see the file COPYING */
-#include <QVariant>
-#include <QString>
-#include <QList>
+#include <string>
+#include <stdint.h>
#ifndef STRUCTDEF_H
#define STRUCTDEF_H
@@ -89,9 +88,9 @@ enum SizeUnit
/// \brief structure for decompossed time
struct TimeDecomposition
{
- quint16 second;
- quint16 minute;
- quint16 hour;
+ uint16_t second;
+ uint16_t minute;
+ uint16_t hour;
};
//////////////////////////// Return list //////////////////////////////
@@ -111,23 +110,23 @@ enum ActionTypeCopyList
/// \brief structure for progression item
struct ProgressionItem
{
- quint64 id;
- quint64 currentRead;
- quint64 currentWrite;
- quint64 total;
+ uint64_t id;
+ uint64_t currentRead;
+ uint64_t currentWrite;
+ uint64_t total;
};
/// \brief item to insert item in the interface
struct ItemOfCopyList
{
- quint64 id;
+ uint64_t id;
// if type == CustomOperation, then is the translated name of the operation
- QString sourceFullPath;///< full path with file name: /foo/foo.txt
- QString sourceFileName;///< full path with file name: foo.txt
- QString destinationFullPath;///< full path with file name: /foo/foo.txt
- QString destinationFileName;///< full path with file name: foo.txt
+ std::string sourceFullPath;///< full path with file name: /foo/foo.txt
+ std::string sourceFileName;///< full path with file name: foo.txt
+ std::string destinationFullPath;///< full path with file name: /foo/foo.txt
+ std::string destinationFileName;///< full path with file name: foo.txt
// if type == CustomOperation, then 0 = without progression, 1 = with progression
- quint64 size;
+ uint64_t size;
CopyMode mode;
};