diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2012-03-12 16:56:25 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-04-05 16:47:15 +0200 |
commit | 10438d2e9d74fe5ad38f2ccbaf1fbbe8316b4061 (patch) | |
tree | ea026b58c71f3fc87704b1d973493ddd343f058b /src/plugins/projectexplorer/taskwindow.cpp | |
parent | f1c299a85e08c5ce16fc8dad371a11115687edf0 (diff) | |
download | qt-creator-10438d2e9d74fe5ad38f2ccbaf1fbbe8316b4061.tar.gz |
BaseTextMark: Support renaming files
Change-Id: I8d712f76fca5d8f5ecad70f1485228e21c00648d
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/taskwindow.cpp')
-rw-r--r-- | src/plugins/projectexplorer/taskwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index 0b2e981e95..3858c2661e 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -299,6 +299,8 @@ TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate) this, SLOT(removeTask(ProjectExplorer::Task))); connect(d->m_taskHub, SIGNAL(taskLineNumberUpdated(uint,int)), this, SLOT(updatedTaskLineNumber(uint,int))); + connect(d->m_taskHub, SIGNAL(taskFileNameUpdated(uint,QString)), + this, SLOT(updatedTaskFileName(uint,QString))); connect(d->m_taskHub, SIGNAL(tasksCleared(Core::Id)), this, SLOT(clearTasks(Core::Id))); connect(d->m_taskHub, SIGNAL(categoryVisibilityChanged(Core::Id,bool)), @@ -385,6 +387,12 @@ void TaskWindow::removeTask(const Task &task) navigateStateChanged(); } +void TaskWindow::updatedTaskFileName(unsigned int id, const QString &fileName) +{ + d->m_model->updateTaskFileName(id, fileName); + emit tasksChanged(); +} + void TaskWindow::updatedTaskLineNumber(unsigned int id, int line) { d->m_model->updateTaskLineNumber(id, line); |