20 #include "main.h" |
20 #include "main.h" |
21 |
21 |
22 class QDir; |
22 class QDir; |
23 class MainWindow; |
23 class MainWindow; |
24 |
24 |
25 class LDPaths : public QObject, public HierarchyElement |
25 class LDPaths : public QObject |
26 { |
26 { |
27 Q_OBJECT |
27 Q_OBJECT |
28 |
28 |
29 public: |
29 public: |
30 LDPaths (QObject* parent); |
30 LDPaths (QObject* parent = nullptr); |
31 void checkPaths(); |
31 void checkPaths(); |
32 bool isValid (const class QDir& path) const; |
32 bool isValid (const class QDir& path) const; |
33 |
33 |
34 static QDir& baseDir(); |
34 static QDir& baseDir(); |
35 static QString& ldConfigPath(); |
35 static QString& ldConfigPath(); |