qmlprojectconstants.h 2.41 KB
Newer Older
1
2
3
4
/**************************************************************************
**
** This file is part of Qt Creator
**
hjk's avatar
hjk committed
5
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
6
**
7
** Contact: Nokia Corporation (qt-info@nokia.com)
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
**
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** If you are unsure which license is appropriate for your use, please
hjk's avatar
hjk committed
26
** contact the sales department at http://qt.nokia.com/contact.
27
28
29
30
31
32
33
34
35
36
**
**************************************************************************/

#ifndef QMLPROJECTCONSTANTS_H
#define QMLPROJECTCONSTANTS_H

namespace QmlProjectManager {
namespace Constants {

const char *const PROJECTCONTEXT     = "QmlProject.ProjectContext";
Roberto Raggi's avatar
Roberto Raggi committed
37
const char *const LANG_QML           = "QML";
38
const char *const QMLMIMETYPE        = "application/x-qmlproject";
39

40
41
42
43
// contexts
const char *const C_FILESEDITOR      = ".files Editor";

// kinds
Roberto Raggi's avatar
Roberto Raggi committed
44
const char *const PROJECT_KIND       = "QML";
45

46
47
const char *const FILES_EDITOR_ID    = "Qt4.QmlProjectEditor";
const char *const FILES_EDITOR_DISPLAY_NAME = QT_TRANSLATE_NOOP("OpenWith::Editors", ".qmlproject Editor");
48
const char *const FILES_MIMETYPE     = QMLMIMETYPE;
49

50
51
const char *const TASK_CATEGORY_QML = "Task.Category.Qml";

con's avatar
con committed
52
53
54
// Wizard category
const char * const QML_WIZARD_CATEGORY = "F.Projects"; // (after Qt)
const char * const QML_WIZARD_TR_SCOPE = "QmlProjectManager";
55
const char * const QML_WIZARD_TR_CATEGORY = QT_TRANSLATE_NOOP("QmlProjectManager", "Qt Quick Project (Preview)");
con's avatar
con committed
56
const char * const QML_WIZARD_ICON = ":/qmlproject/images/qml_wizard.png";
con's avatar
con committed
57

58
59
60
// Env variables for inspector
const char * const E_QML_DEBUG_SERVER_PORT = "QML_DEBUG_SERVER_PORT";

61
62
63
64
} // namespace Constants
} // namespace QmlProjectManager

#endif // QMLPROJECTCONSTANTS_H