Introduced LANG_QML

This commit is contained in:
Roberto Raggi
2009-05-07 12:42:20 +02:00
parent 76f4cfa0b4
commit 8f9bc24d93
2 changed files with 3 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ namespace QmlProjectManager {
namespace Constants {
const char *const PROJECTCONTEXT = "QmlProject.ProjectContext";
const char *const LANG_QML = "QML";
const char *const QMLMIMETYPE = "text/x-qml-project"; // ### FIXME
const char *const QMLRUNCONFIGURATION = "QmlProject.QmlApplicationRunConfiguration";
@@ -42,7 +43,7 @@ const char *const QMLRUNCONFIGURATION = "QmlProject.QmlApplicationRunConfigurati
const char *const C_FILESEDITOR = ".files Editor";
// kinds
const char *const PROJECT_KIND = "Qml";
const char *const PROJECT_KIND = "QML";
const char *const FILES_EDITOR = ".qmlproject Editor";
const char *const FILES_MIMETYPE = QMLMIMETYPE;

View File

@@ -43,7 +43,7 @@ Manager::Manager()
{
Core::UniqueIDManager *uidm = Core::UniqueIDManager::instance();
m_projectContext = uidm->uniqueIdentifier(QmlProjectManager::Constants::PROJECTCONTEXT);
m_projectLanguage = uidm->uniqueIdentifier(ProjectExplorer::Constants::LANG_CXX);
m_projectLanguage = uidm->uniqueIdentifier(QmlProjectManager::Constants::LANG_QML);
}
Manager::~Manager()