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
61a3aad1
Commit
61a3aad1
authored
Nov 04, 2010
by
dt
Browse files
Qt4ProjectManager: updateFileList on a external folder change
Task-Nr: QTCREATORBUG-3001
parent
6bfe8c88
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
61a3aad1
...
@@ -719,6 +719,7 @@ void Qt4PriFileNode::folderChanged(const QString &folder)
...
@@ -719,6 +719,7 @@ void Qt4PriFileNode::folderChanged(const QString &folder)
}
}
contents
.
updateSubFolders
(
this
,
this
);
contents
.
updateSubFolders
(
this
,
this
);
m_project
->
updateFileList
();
}
}
bool
Qt4PriFileNode
::
deploysFolder
(
const
QString
&
folder
)
const
bool
Qt4PriFileNode
::
deploysFolder
(
const
QString
&
folder
)
const
...
...
src/plugins/qt4projectmanager/qt4project.h
View file @
61a3aad1
...
@@ -192,6 +192,9 @@ public:
...
@@ -192,6 +192,9 @@ public:
Internal
::
CentralizedFolderWatcher
*
centralizedFolderWatcher
();
Internal
::
CentralizedFolderWatcher
*
centralizedFolderWatcher
();
// For Qt4ProFileNode after a on disk change
void
updateFileList
();
signals:
signals:
/// emitted after parse
/// emitted after parse
void
proFileUpdated
(
Qt4ProjectManager
::
Internal
::
Qt4ProFileNode
*
node
);
void
proFileUpdated
(
Qt4ProjectManager
::
Internal
::
Qt4ProFileNode
*
node
);
...
@@ -220,7 +223,7 @@ private:
...
@@ -220,7 +223,7 @@ private:
void
updateCodeModels
();
void
updateCodeModels
();
void
updateCppCodeModel
();
void
updateCppCodeModel
();
void
updateQmlJSCodeModel
();
void
updateQmlJSCodeModel
();
void
updateFileList
();
static
void
collectLeafProFiles
(
QList
<
Internal
::
Qt4ProFileNode
*>
&
list
,
Internal
::
Qt4ProFileNode
*
node
);
static
void
collectLeafProFiles
(
QList
<
Internal
::
Qt4ProFileNode
*>
&
list
,
Internal
::
Qt4ProFileNode
*
node
);
static
void
collectApplicationProFiles
(
QList
<
Internal
::
Qt4ProFileNode
*>
&
list
,
Internal
::
Qt4ProFileNode
*
node
);
static
void
collectApplicationProFiles
(
QList
<
Internal
::
Qt4ProFileNode
*>
&
list
,
Internal
::
Qt4ProFileNode
*
node
);
...
...
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