aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/taskmodel.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@nokia.com>2012-02-03 16:07:13 +0100
committerDaniel Teske <daniel.teske@nokia.com>2012-02-14 12:43:22 +0100
commitd7b0ceac8a3959a6b055961cf915c9b697c31d46 (patch)
treea572ea88066dd377b2ae856e0d444760792cbea9 /src/plugins/projectexplorer/taskmodel.h
parent530ad93d18ba8b695e7c548206067a727820299e (diff)
Task, adjust line numbers while editing
Change-Id: Id2aa3b6f25a17416bb8ea601b6f5dd0de45f5375 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.h')
-rw-r--r--src/plugins/projectexplorer/taskmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.h b/src/plugins/projectexplorer/taskmodel.h
index 421bc2d60d..0a378579f2 100644
--- a/src/plugins/projectexplorer/taskmodel.h
+++ b/src/plugins/projectexplorer/taskmodel.h
@@ -62,12 +62,13 @@ public:
void addTask(const Task &task);
void removeTask(const Task &task);
void clearTasks(const Core::Id &categoryId = Core::Id());
+ void updateTaskLineNumber(unsigned int id, int line);
int sizeOfFile(const QFont &font);
int sizeOfLineNumber(const QFont &font);
void setFileNotFound(const QModelIndex &index, bool b);
- enum Roles { File = Qt::UserRole, Line, Description, FileNotFound, Type, Category, Icon, Task_t };
+ enum Roles { File = Qt::UserRole, Line, MovedLine, Description, FileNotFound, Type, Category, Icon, Task_t };
QIcon taskTypeIcon(Task::TaskType t) const;