2022-02-17 17:26:15 +00:00
|
|
|
#ifndef PATHCHECK_H
|
|
|
|
#define PATHCHECK_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include <QStandardPaths>
|
|
|
|
#include <QSettings>
|
|
|
|
#include <QApplication>
|
|
|
|
#include <QDir>
|
|
|
|
#include <QFileInfo>
|
|
|
|
#include <QDebug>
|
2022-02-18 21:27:09 +00:00
|
|
|
#include <QRegularExpression>
|
2022-02-17 17:26:15 +00:00
|
|
|
|
2022-02-18 21:27:09 +00:00
|
|
|
namespace Shared {
|
2022-02-17 17:26:15 +00:00
|
|
|
|
|
|
|
QString downloadsPathCheck();
|
|
|
|
QString defaultDownloadsPath();
|
|
|
|
|
2022-02-18 21:27:09 +00:00
|
|
|
QString getAbsoluteWritablePath(const QString& path);
|
|
|
|
QString resolvePath(QString path);
|
2022-02-17 17:26:15 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // PATHCHECK_H
|