Changeset View
Changeset View
Standalone View
Standalone View
plugins/meson/settings/mesonnewbuilddir.h
Show All 39 Lines | 39 | public: | |||
---|---|---|---|---|---|
40 | explicit MesonNewBuildDir(KDevelop::IProject *project, QWidget* parent = nullptr); | 40 | explicit MesonNewBuildDir(KDevelop::IProject *project, QWidget* parent = nullptr); | ||
41 | ~MesonNewBuildDir() override; | 41 | ~MesonNewBuildDir() override; | ||
42 | MesonNewBuildDir() = delete; | 42 | MesonNewBuildDir() = delete; | ||
43 | 43 | | |||
44 | void setStatus(QString const& str, bool validConfig); | 44 | void setStatus(QString const& str, bool validConfig); | ||
45 | 45 | | |||
46 | bool isConfigValid() const; | 46 | bool isConfigValid() const; | ||
47 | Meson::BuildDir currentConfig() const; | 47 | Meson::BuildDir currentConfig() const; | ||
48 | QStringList mesonArgs() const; | ||||
48 | 49 | | |||
49 | private Q_SLOTS: | 50 | private Q_SLOTS: | ||
50 | void resetFields(); | 51 | void resetFields(); | ||
51 | void updated(); | 52 | void updated(); | ||
52 | 53 | | |||
53 | private: | 54 | private: | ||
54 | bool m_configIsValid = false; | 55 | bool m_configIsValid = false; | ||
55 | KDevelop::IProject* m_project = nullptr; | 56 | KDevelop::IProject* m_project = nullptr; | ||
56 | Ui::MesonNewBuildDir* m_ui = nullptr; | 57 | Ui::MesonNewBuildDir* m_ui = nullptr; | ||
58 | QString m_oldBuildDir; | ||||
57 | }; | 59 | }; |