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
9f96d80c
Commit
9f96d80c
authored
May 18, 2009
by
Alessandro Portale
Browse files
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
e00f346e
be620585
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/duieditor/duieditor.cpp
View file @
9f96d80c
...
...
@@ -85,15 +85,15 @@ protected:
using
Visitor
::
visit
;
using
Visitor
::
endVisit
;
v
irtual
bool
visit
(
AST
::
UiPublicMember
*
node
)
v
oid
addWords
(
AST
::
UiQualifiedId
*
id
)
{
if
(
node
->
name
)
_words
.
insert
(
node
->
name
->
asString
());
return
true
;
for
(;
id
;
id
=
id
->
next
)
{
if
(
id
->
name
)
_words
.
insert
(
id
->
name
->
asString
());
}
}
virtual
bool
visit
(
AST
::
Ui
ObjectDefinition
*
node
)
virtual
bool
visit
(
AST
::
Ui
PublicMember
*
node
)
{
if
(
node
->
name
)
_words
.
insert
(
node
->
name
->
asString
());
...
...
@@ -109,14 +109,6 @@ protected:
return
true
;
}
virtual
bool
visit
(
AST
::
UiObjectBinding
*
node
)
{
if
(
node
->
name
)
_words
.
insert
(
node
->
name
->
asString
());
return
true
;
}
virtual
bool
visit
(
AST
::
IdentifierExpression
*
node
)
{
if
(
node
->
name
)
...
...
@@ -302,8 +294,8 @@ protected:
init
(
&
decl
,
node
);
decl
.
text
.
fill
(
QLatin1Char
(
' '
),
_depth
);
if
(
node
->
n
ame
)
decl
.
text
.
append
(
node
->
name
->
asString
(
));
if
(
node
->
qualifiedObjectN
ame
Id
)
decl
.
text
.
append
(
asString
(
node
->
qualifiedObjectNameId
));
else
decl
.
text
.
append
(
QLatin1Char
(
'?'
));
...
...
@@ -329,8 +321,8 @@ protected:
decl
.
text
.
append
(
asString
(
node
->
qualifiedId
));
decl
.
text
.
append
(
QLatin1String
(
": "
));
if
(
node
->
n
ame
)
decl
.
text
.
append
(
node
->
name
->
asString
(
));
if
(
node
->
qualifiedObjectN
ame
Id
)
decl
.
text
.
append
(
asString
(
node
->
qualifiedObjectNameId
));
else
decl
.
text
.
append
(
QLatin1Char
(
'?'
));
...
...
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