Skip to content
GitLab
Menu
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
85444451
Commit
85444451
authored
Feb 09, 2011
by
Christian Kamm
Browse files
QmlJS: Use / in fully qualified names to separate package and classname.
parent
4fc2032e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/languageutils/fakemetaobject.cpp
View file @
85444451
...
...
@@ -136,7 +136,7 @@ void FakeMetaObject::addExport(const QString &name, const QString &package, Comp
exp
.
type
=
name
;
exp
.
package
=
package
;
exp
.
version
=
version
;
exp
.
packageNameVersion
=
QString
::
fromLatin1
(
"%1
.
%2 %3"
).
arg
(
exp
.
packageNameVersion
=
QString
::
fromLatin1
(
"%1
/
%2 %3"
).
arg
(
package
,
name
,
version
.
toString
());
m_exports
.
append
(
exp
);
...
...
src/libs/qmljs/qmljsinterpreter.cpp
View file @
85444451
...
...
@@ -2106,7 +2106,7 @@ bool CppQmlTypes::hasPackage(const QString &package) const
QString
CppQmlTypes
::
qualifiedName
(
const
QString
&
package
,
const
QString
&
type
,
ComponentVersion
version
)
{
return
QString
(
"%1
.
%2 %3"
).
arg
(
return
QString
(
"%1
/
%2 %3"
).
arg
(
package
,
type
,
version
.
toString
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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