Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
afba9211
Commit
afba9211
authored
15 years ago
by
Roberto Raggi
Browse files
Options
Downloads
Patches
Plain Diff
Fixed wrong usages of the Q_D() macro.
parent
293f6758
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
+4
-4
4 additions, 4 deletions
src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
with
4 additions
and
4 deletions
src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
+
4
−
4
View file @
afba9211
...
@@ -53,7 +53,7 @@ QDeclarativeListProperty<QmlProjectContentItem> QmlProjectItem::content()
...
@@ -53,7 +53,7 @@ QDeclarativeListProperty<QmlProjectContentItem> QmlProjectItem::content()
QString
QmlProjectItem
::
sourceDirectory
()
const
QString
QmlProjectItem
::
sourceDirectory
()
const
{
{
const
Q_D
(
QmlProjectItem
);
Q_D
(
const
QmlProjectItem
);
return
d
->
sourceDirectory
;
return
d
->
sourceDirectory
;
}
}
...
@@ -81,7 +81,7 @@ void QmlProjectItem::setSourceDirectory(const QString &directoryPath)
...
@@ -81,7 +81,7 @@ void QmlProjectItem::setSourceDirectory(const QString &directoryPath)
QStringList
QmlProjectItem
::
libraryPaths
()
const
QStringList
QmlProjectItem
::
libraryPaths
()
const
{
{
const
Q_D
(
QmlProjectItem
);
Q_D
(
const
QmlProjectItem
);
return
d
->
libraryPaths
;
return
d
->
libraryPaths
;
}
}
...
@@ -99,7 +99,7 @@ void QmlProjectItem::setLibraryPaths(const QStringList &libraryPaths)
...
@@ -99,7 +99,7 @@ void QmlProjectItem::setLibraryPaths(const QStringList &libraryPaths)
/* Returns list of absolute paths */
/* Returns list of absolute paths */
QStringList
QmlProjectItem
::
files
()
const
QStringList
QmlProjectItem
::
files
()
const
{
{
const
Q_D
(
QmlProjectItem
);
Q_D
(
const
QmlProjectItem
);
QStringList
files
;
QStringList
files
;
for
(
int
i
=
0
;
i
<
d
->
content
.
size
();
++
i
)
{
for
(
int
i
=
0
;
i
<
d
->
content
.
size
();
++
i
)
{
...
@@ -123,7 +123,7 @@ QStringList QmlProjectItem::files() const
...
@@ -123,7 +123,7 @@ QStringList QmlProjectItem::files() const
*/
*/
bool
QmlProjectItem
::
matchesFile
(
const
QString
&
filePath
)
const
bool
QmlProjectItem
::
matchesFile
(
const
QString
&
filePath
)
const
{
{
const
Q_D
(
QmlProjectItem
);
Q_D
(
const
QmlProjectItem
);
for
(
int
i
=
0
;
i
<
d
->
content
.
size
();
++
i
)
{
for
(
int
i
=
0
;
i
<
d
->
content
.
size
();
++
i
)
{
QmlProjectContentItem
*
contentElement
=
d
->
content
.
at
(
i
);
QmlProjectContentItem
*
contentElement
=
d
->
content
.
at
(
i
);
FileFilterBaseItem
*
fileFilter
=
qobject_cast
<
FileFilterBaseItem
*>
(
contentElement
);
FileFilterBaseItem
*
fileFilter
=
qobject_cast
<
FileFilterBaseItem
*>
(
contentElement
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment