You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
604 B
C++
18 lines
604 B
C++
#ifndef _H_HUBBASE_H_
|
|
#define _H_HUBBASE_H_
|
|
#include <QString>
|
|
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 |