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
f84e428f
Commit
f84e428f
authored
Nov 25, 2010
by
Marco Bubke
Browse files
QmlDesigner.NodeInsances: Use Qt class names instead of Qml class names
parent
ec96a9b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/instances/servernodeinstance.cpp
View file @
f84e428f
...
...
@@ -163,23 +163,21 @@ Internal::ObjectNodeInstance::Pointer ServerNodeInstance::createInstance(QObject
if
(
objectToBeWrapped
==
0
)
instance
=
Internal
::
DummyNodeInstance
::
create
();
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"QtWebKit/WebView"
))
instance
=
Internal
::
DummyNodeInstance
::
create
();
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"QDeclarativeBasePositioner"
))
instance
=
Internal
::
PositionerNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
Item"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
Item"
))
instance
=
Internal
::
QmlGraphicsItemNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
Component"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
Component"
))
instance
=
Internal
::
ComponentNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
PropertyChanges"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
PropertyChanges"
))
instance
=
Internal
::
QmlPropertyChangesNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
State"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
State"
))
instance
=
Internal
::
QmlStateNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
Transition"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
Transition"
))
instance
=
Internal
::
QmlTransitionNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/
Behavior"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
Declarative
Behavior"
))
instance
=
Internal
::
BehaviorNodeInstance
::
create
(
objectToBeWrapped
);
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"Q
t/Qt
Object"
))
else
if
(
isSubclassOf
(
objectToBeWrapped
,
"QObject"
))
instance
=
Internal
::
ObjectNodeInstance
::
create
(
objectToBeWrapped
);
else
instance
=
Internal
::
DummyNodeInstance
::
create
();
...
...
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