src/ldpaths.h

changeset 1217
314e12e23c3a
parent 1012
413ecd6b9801
child 1222
34def2630300
equal deleted inserted replaced
1216:12f9ea615cbc 1217:314e12e23c3a
25 class LDPaths : public QObject 25 class LDPaths : public QObject
26 { 26 {
27 Q_OBJECT 27 Q_OBJECT
28 28
29 public: 29 public:
30 LDPaths (QObject* parent = nullptr); 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();
36 static QDir& primitivesDir(); 36 static QDir& primitivesDir();
37 static QDir& partsDir(); 37 static QDir& partsDir();
38 38
39 public slots: 39 public slots:
40 bool configurePaths (QString path); 40 bool configurePaths(QString path);
41 41
42 private: 42 private:
43 mutable QString m_error; 43 mutable QString m_error;
44 class LDrawPathDialog* m_dialog; 44 class LDrawPathDialog* m_dialog;
45 }; 45 };

mercurial