summaryrefslogtreecommitdiff
path: root/plugins/CopyEngine/Ultracopier/MkPath.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
commitbd56579c7d9de94c17287adefa118290e6b7ba33 (patch)
tree666d7d0b6945b442573b7a3145969f66a53aa460 /plugins/CopyEngine/Ultracopier/MkPath.h
parentb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (diff)
New upstream version 1.4.0.3
Diffstat (limited to 'plugins/CopyEngine/Ultracopier/MkPath.h')
-rw-r--r--plugins/CopyEngine/Ultracopier/MkPath.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/CopyEngine/Ultracopier/MkPath.h b/plugins/CopyEngine/Ultracopier/MkPath.h
index 9182462..2bbebcc 100644
--- a/plugins/CopyEngine/Ultracopier/MkPath.h
+++ b/plugins/CopyEngine/Ultracopier/MkPath.h
@@ -8,9 +8,9 @@
#include <QThread>
#include <QFileInfo>
-#include <QString>
+#include <string>
#include <QSemaphore>
-#include <QStringList>
+#include <vector>
#include <QDir>
#include <QDateTime>
@@ -44,13 +44,13 @@ public:
void setRightTransfer(const bool doRightTransfer);
void setKeepDate(const bool keepDate);
signals:
- void errorOnFolder(const QFileInfo &,const QString &,const ErrorType &errorType=ErrorType_FolderWithRety) const;
+ void errorOnFolder(const QFileInfo &,const std::string &,const ErrorType &errorType=ErrorType_FolderWithRety) const;
void firstFolderFinish();
void internalStartAddPath(const QFileInfo& source,const QFileInfo& destination, const ActionType &actionType) const;
void internalStartDoThisPath() const;
void internalStartSkip() const;
void internalStartRetry() const;
- void debugInformation(const Ultracopier::DebugLevel &level,const QString &fonction,const QString &text,const QString &file,const int &ligne) const;
+ void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const;
public slots:
/// \brief skip after creation error
void skip();
@@ -81,16 +81,16 @@ private:
#ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
utimbuf butime;
#else
- quint32 ftCreateL, ftAccessL, ftWriteL;
- quint32 ftCreateH, ftAccessH, ftWriteH;
- QRegularExpression regRead;
+ uint64_t ftCreateL, ftAccessL, ftWriteL;
+ uint64_t ftCreateH, ftAccessH, ftWriteH;
+ std::regex regRead;
#endif
#endif
#endif
//fonction to edit the file date time
bool readFileDateTime(const QFileInfo &source);
bool writeFileDateTime(const QFileInfo &destination);
- static QString text_slash;
+ static std::string text_slash;
private slots:
void internalDoThisPath();
void internalAddPath(const QFileInfo& source, const QFileInfo& destination,const ActionType &actionType);