aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/task.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2011-05-12 11:51:17 +0200
committerdt <qtc-committer@nokia.com>2011-05-12 11:57:46 +0200
commit9ef4ea40f27befa4b5b553c3dfa94d979a34748c (patch)
treed2152e2d65d120beef7ce70446d89222fbecc711 /src/plugins/projectexplorer/task.h
parent8ad489664d0e39b4ac953281d82b06e616a383fd (diff)
make Tasks sortable
Sorting according to severity then id Reviewed-By: hunger
Diffstat (limited to 'src/plugins/projectexplorer/task.h')
-rw-r--r--src/plugins/projectexplorer/task.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h
index ad5f3ec9a6c..66c22b64df3 100644
--- a/src/plugins/projectexplorer/task.h
+++ b/src/plugins/projectexplorer/task.h
@@ -76,8 +76,10 @@ private:
static unsigned int s_nextId;
};
-bool operator==(const Task &t1, const Task &t2);
-uint qHash(const Task &task);
+bool PROJECTEXPLORER_EXPORT operator==(const Task &t1, const Task &t2);
+uint PROJECTEXPLORER_EXPORT qHash(const Task &task);
+
+bool PROJECTEXPLORER_EXPORT operator<(const Task &a, const Task &b);
} //namespace ProjectExplorer