summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/codestylesettingspropertiespage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/codestylesettingspropertiespage.h')
-rw-r--r--src/plugins/projectexplorer/codestylesettingspropertiespage.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/codestylesettingspropertiespage.h b/src/plugins/projectexplorer/codestylesettingspropertiespage.h
new file mode 100644
index 0000000000..07ba4ae4b7
--- /dev/null
+++ b/src/plugins/projectexplorer/codestylesettingspropertiespage.h
@@ -0,0 +1,41 @@
+#ifndef CODESTYLESETTINGSPROPERTIESPAGE_H
+#define CODESTYLESETTINGSPROPERTIESPAGE_H
+
+#include "iprojectproperties.h"
+#include "ui_codestylesettingspropertiespage.h"
+
+namespace ProjectExplorer {
+
+class EditorConfiguration;
+
+namespace Internal {
+
+const char * const CODESTYLESETTINGS_PANEL_ID("ProjectExplorer.CodeStyleSettingsPanel");
+
+class CodeStyleSettingsPanelFactory : public IProjectPanelFactory
+{
+public:
+ QString id() const;
+ QString displayName() const;
+ PropertiesPanel *createPanel(Project *project);
+ bool supports(Project *project);
+};
+
+class CodeStyleSettingsWidget;
+
+class CodeStyleSettingsWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ CodeStyleSettingsWidget(Project *project);
+
+private:
+ ProjectExplorer::Ui::CodeStyleSettingsPropertiesPage m_ui;
+ Project *m_project;
+};
+
+} // namespace Internal
+} // namespace ProjectExplorer
+
+
+#endif // CODESTYLESETTINGSPROPERTIESPAGE_H