squawk/shared/pathcheck.h

27 lines
546 B
C
Raw Normal View History

#ifndef PATHCHECK_H
#define PATHCHECK_H
#include <QString>
#include <QStandardPaths>
#include <QSettings>
#include <QApplication>
#include <QDir>
#include <QFileInfo>
#include <QDebug>
#include <QRegularExpression>
namespace Shared {
QString downloadsPathCheck();
2022-02-19 18:31:49 +00:00
QString downloadsPathCheck(QString path);
QString defaultDownloadsPath();
QString getAbsoluteWritablePath(const QString& path);
QString resolvePath(QString path);
2022-02-19 18:31:49 +00:00
QString squawkifyPath(QString path);
bool isSubdirectoryOfSettings(const QString& path);
}
#endif // PATHCHECK_H