diff options
Diffstat (limited to 'src/plugins/cpptools/cppcodestylesettingsfactory.h')
-rw-r--r-- | src/plugins/cpptools/cppcodestylesettingsfactory.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppcodestylesettingsfactory.h b/src/plugins/cpptools/cppcodestylesettingsfactory.h new file mode 100644 index 0000000000..53681d6dd0 --- /dev/null +++ b/src/plugins/cpptools/cppcodestylesettingsfactory.h @@ -0,0 +1,24 @@ +#ifndef CPPCODESTYLESETTINGSFACTORY_H +#define CPPCODESTYLESETTINGSFACTORY_H + +#include <texteditor/icodestylepreferencesfactory.h> + +namespace CppTools { + +class CppCodeStylePreferencesFactory : public TextEditor::ICodeStylePreferencesFactory +{ +public: + CppCodeStylePreferencesFactory(); + + virtual QString languageId(); + virtual QString displayName(); + virtual TextEditor::IFallbackPreferences *createPreferences(const QList<TextEditor::IFallbackPreferences *> &fallbacks) const; + virtual QWidget *createEditor(TextEditor::IFallbackPreferences *settings, + TextEditor::TabPreferences *tabSettings, + QWidget *parent) const; + +}; + +} // namespace CppTools + +#endif // CPPCODESTYLESETTINGSFACTORY_H |