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
6fdfc659
Commit
6fdfc659
authored
Jul 02, 2010
by
dt
Browse files
Add more signals to BuildManager.
Enabling other plugins to know which tasks currently exist.
parent
b61c3769
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/buildmanager.cpp
View file @
6fdfc659
...
...
@@ -100,6 +100,9 @@ BuildManager::BuildManager(ProjectExplorerPlugin *parent)
connect
(
m_taskWindow
,
SIGNAL
(
tasksChanged
()),
this
,
SLOT
(
updateTaskCount
()));
connect
(
m_taskWindow
,
SIGNAL
(
tasksCleared
()),
this
,
SIGNAL
(
tasksCleared
()));
connect
(
&
m_progressWatcher
,
SIGNAL
(
canceled
()),
this
,
SLOT
(
cancel
()));
connect
(
&
m_progressWatcher
,
SIGNAL
(
finished
()),
...
...
@@ -283,6 +286,7 @@ void BuildManager::showBuildResults()
void
BuildManager
::
addToTaskWindow
(
const
ProjectExplorer
::
Task
&
task
)
{
m_taskWindow
->
addTask
(
task
);
emit
taskAdded
(
task
);
}
void
BuildManager
::
addToOutputWindow
(
const
QString
&
string
,
const
QTextCharFormat
&
format
)
...
...
src/plugins/projectexplorer/buildmanager.h
View file @
6fdfc659
...
...
@@ -92,6 +92,8 @@ signals:
void
buildStateChanged
(
ProjectExplorer
::
Project
*
pro
);
void
buildQueueFinished
(
bool
success
);
void
tasksChanged
();
void
taskAdded
(
const
ProjectExplorer
::
Task
&
task
);
void
tasksCleared
();
private
slots
:
void
addToTaskWindow
(
const
ProjectExplorer
::
Task
&
task
);
...
...
src/plugins/projectexplorer/taskwindow.cpp
View file @
6fdfc659
...
...
@@ -591,6 +591,7 @@ void TaskWindow::clearTasks(const QString &categoryId)
updateActions
();
emit
tasksChanged
();
emit
tasksCleared
();
navigateStateChanged
();
}
...
...
src/plugins/projectexplorer/taskwindow.h
View file @
6fdfc659
...
...
@@ -129,6 +129,7 @@ public:
signals:
void
tasksChanged
();
void
tasksCleared
();
private
slots
:
void
showTaskInFile
(
const
QModelIndex
&
index
);
...
...
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