aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/icodestylepreferencesfactory.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2012-11-21 21:47:17 +0200
committerhjk <qthjk@ovi.com>2012-11-22 08:32:44 +0100
commit7fa69afa6cd2b63fa3759d9b590a67433622bd8f (patch)
tree62e1a8f8c89496e1e7d2b6b4b14434f135580364 /src/plugins/texteditor/icodestylepreferencesfactory.h
parent7d36034f0376c27f68006090cc514256fcf9c59d (diff)
Use Core::Id for language
Change-Id: I0077558e9e2cf5aa06ac921cb45224e29aa85c9b Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/texteditor/icodestylepreferencesfactory.h')
-rw-r--r--src/plugins/texteditor/icodestylepreferencesfactory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.h b/src/plugins/texteditor/icodestylepreferencesfactory.h
index b801613404..60c4487d36 100644
--- a/src/plugins/texteditor/icodestylepreferencesfactory.h
+++ b/src/plugins/texteditor/icodestylepreferencesfactory.h
@@ -32,6 +32,8 @@
#include "texteditor_global.h"
+#include <coreplugin/id.h>
+
#include <QObject>
namespace TextEditor {
@@ -47,7 +49,7 @@ class TEXTEDITOR_EXPORT ICodeStylePreferencesFactory : public QObject
public:
explicit ICodeStylePreferencesFactory(QObject *parent = 0);
- virtual QString languageId() = 0;
+ virtual Core::Id languageId() = 0;
virtual QString displayName() = 0;
virtual ICodeStylePreferences *createCodeStyle() const = 0;
virtual QWidget *createEditor(ICodeStylePreferences *preferences, QWidget *parent) const = 0;