src/ldpaths.h

changeset 970
c8aae45afd85
parent 953
8349552ee5e9
child 1006
a6b462051ae0
equal deleted inserted replaced
969:b1742ee91d5b 970:c8aae45afd85
1 #pragma once 1 #pragma once
2 #include "main.h" 2 #include "main.h"
3 3
4 class QDir; 4 class QDir;
5 class MainWindow;
5 6
6 class LDPaths : public QObject 7 class LDPaths : public QObject, public HierarchyElement
7 { 8 {
8 Q_OBJECT 9 Q_OBJECT
9 10
10 public: 11 public:
11 LDPaths (QObject* parent = nullptr); 12 LDPaths (QObject* parent);
12 void checkPaths(); 13 void checkPaths();
13 bool isValid (const class QDir& path) const; 14 bool isValid (const class QDir& path) const;
14 15
15 static QDir& baseDir(); 16 static QDir& baseDir();
16 static QString& ldConfigPath(); 17 static QString& ldConfigPath();

mercurial