mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-29 19:24:33 +00:00
29 lines
666 B
C
29 lines
666 B
C
|
//#
|
||
|
//# Copyright (C) 2018-2019 QuasarApp.
|
||
|
//# Distributed under the lgplv3 software license, see the accompanying
|
||
|
//# Everyone is permitted to copy and distribute verbatim copies
|
||
|
//# of this license document, but changing it is not allowed.
|
||
|
//#
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
#ifndef PATHUTILS_H
|
||
|
#define PATHUTILS_H
|
||
|
|
||
|
/**
|
||
|
* @brief The PathUtils class
|
||
|
*
|
||
|
*/
|
||
|
class PathUtils
|
||
|
{
|
||
|
public:
|
||
|
PathUtils();
|
||
|
static QString toFullPath(QString path);
|
||
|
static QString getReleativePath(QString path);
|
||
|
static QString stripPath(QString path) ;
|
||
|
static QString getRelativeLink(QString from, QString to);
|
||
|
static bool isPath(const QString &path);
|
||
|
};
|
||
|
|
||
|
#endif // PATHUTILS_H
|