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(); |