summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-06-25 12:56:16 +0200
committerhjk <qtc-committer@nokia.com>2010-06-25 12:58:07 +0200
commitc7e8b51d37700499536e3ab333190abd127ea0f7 (patch)
treea37b295b137c0049958fb2283b169eec0cdc430c /src/plugins/cmakeprojectmanager
parenta54fc1f6a1e2c2fa0a2f741558a95231c08925b4 (diff)
downloadqt-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.cpp2
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.h4
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