diff options
Diffstat (limited to 'plugins/CopyEngine/Ultracopier/MkPath.h')
-rw-r--r-- | plugins/CopyEngine/Ultracopier/MkPath.h | 16 |
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); |