Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
dc73e7d1
Commit
dc73e7d1
authored
Sep 30, 2010
by
Christian Kandeler
Browse files
QML file wizard: Move to new category.
Task-number: QTCREATORBUG-2510 Reviewed-by: Kai Koehne
parent
d5d2d3ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljseditorconstants.h
View file @
dc73e7d1
...
...
@@ -58,6 +58,10 @@ const char * const JS_MIMETYPE = "application/javascript";
const
char
*
const
TASK_CATEGORY_QML
=
"Task.Category.Qml"
;
const
char
*
const
WIZARD_CATEGORY_QML
=
"S.Qml"
;
const
char
*
const
WIZARD_TR_CATEGORY_QML
=
QT_TRANSLATE_NOOP
(
"QmlJsEditor"
,
"QML"
);
}
// namespace Constants
}
// namespace QmlJSEditor
...
...
src/plugins/qmljseditor/qmljseditorplugin.cpp
View file @
dc73e7d1
...
...
@@ -134,10 +134,10 @@ bool QmlJSEditorPlugin::initialize(const QStringList & /*arguments*/, QString *e
addObject
(
m_editor
);
Core
::
BaseFileWizardParameters
wizardParameters
(
Core
::
IWizard
::
FileWizard
);
wizardParameters
.
setCategory
(
QLatin1String
(
Core
::
Constants
::
WIZARD_CATEGORY_Q
T
));
wizardParameters
.
setDisplayCategory
(
QCoreApplication
::
translate
(
"
C
or
e
"
,
Core
::
Constants
::
WIZARD_TR_CATEGORY_Q
T
));
wizardParameters
.
setDescription
(
tr
(
"Creates a
Qt
QML file."
));
wizardParameters
.
setDisplayName
(
tr
(
"
Qt
QML File"
));
wizardParameters
.
setCategory
(
QLatin1String
(
Constants
::
WIZARD_CATEGORY_Q
ML
));
wizardParameters
.
setDisplayCategory
(
QCoreApplication
::
translate
(
"
QmlJsEdit
or"
,
Constants
::
WIZARD_TR_CATEGORY_Q
ML
));
wizardParameters
.
setDescription
(
tr
(
"Creates a QML file."
));
wizardParameters
.
setDisplayName
(
tr
(
"QML File"
));
wizardParameters
.
setId
(
QLatin1String
(
"Q.Qml"
));
addAutoReleasedObject
(
new
QmlFileWizard
(
wizardParameters
,
core
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment