1
0
Fork 0
flightgear/src/GUI/PathUrlHelper.hxx

22 lines
379 B
C++
Raw Normal View History

#ifndef PATHURLHELPER_H
#define PATHURLHELPER_H
#include <QObject>
#include <QUrl>
class PathUrlHelper : public QObject
{
Q_OBJECT
public:
explicit PathUrlHelper(QObject *parent = nullptr);
Q_INVOKABLE QString urlToLocalFilePath(QUrl url) const;
Q_INVOKABLE QUrl urlFromLocalFilePath(QString path) const;
signals:
public slots:
};
#endif // PATHURLHELPER_H