#ifndef _H_HUBBASE_H_ #define _H_HUBBASE_H_ #include namespace hubBase { bool copyPath2Path(QString sourcePath, QString dstPath, bool converFileIfExist); bool deleteDirectory(const QString &path); bool mkdir(QString path); bool reNameDirectory(const QString &strOld, const QString &strNew); bool reNameFile(const QString &strOld, const QString &strNew); QString baseNameofPath(const QString&); bool removeFile(QString strFile); QString genDateTime(QString strFormat = "yyyy-MM-dd hh:mm:ss"); QString genTime(QString strFormat = "hh:mm:ss"); QString pathSuffix(QString ); } #endif