diff options
author | hjk <qtc-committer@nokia.com> | 2010-06-25 12:56:16 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-06-25 12:58:07 +0200 |
commit | c7e8b51d37700499536e3ab333190abd127ea0f7 (patch) | |
tree | a37b295b137c0049958fb2283b169eec0cdc430c /src/plugins/cmakeprojectmanager | |
parent | a54fc1f6a1e2c2fa0a2f741558a95231c08925b4 (diff) | |
download | qt-creator-c7e8b51d37700499536e3ab333190abd127ea0f7.tar.gz |
core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.
Reviewed-By: con
Diffstat (limited to 'src/plugins/cmakeprojectmanager')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeeditor.cpp | 2 | ||||
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeeditor.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp index 9c6c927184..bb4fa19377 100644 --- a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp @@ -56,7 +56,7 @@ CMakeEditorEditable::CMakeEditorEditable(CMakeEditor *editor) m_context << uidm->uniqueIdentifier(TextEditor::Constants::C_TEXTEDITOR); } -QList<int> CMakeEditorEditable::context() const +Core::Context CMakeEditorEditable::context() const { return m_context; } diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.h b/src/plugins/cmakeprojectmanager/cmakeeditor.h index 6be2ba4b27..e28aecafb5 100644 --- a/src/plugins/cmakeprojectmanager/cmakeeditor.h +++ b/src/plugins/cmakeprojectmanager/cmakeeditor.h @@ -53,14 +53,14 @@ class CMakeEditorEditable : public TextEditor::BaseTextEditorEditable { public: CMakeEditorEditable(CMakeEditor *); - QList<int> context() const; + Core::Context context() const; bool duplicateSupported() const { return true; } Core::IEditor *duplicate(QWidget *parent); QString id() const; bool isTemporary() const { return false; } private: - QList<int> m_context; + Core::Context m_context; }; class CMakeEditor : public TextEditor::BaseTextEditor |