summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/dialogs/externaltoolconfig.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2012-03-01 12:57:48 +0100
committerEike Ziller <eike.ziller@nokia.com>2012-03-01 18:22:18 +0100
commitbdb5ecd1bc13137410c7dc4de8f6bfc7bf182011 (patch)
tree24d3735b4a71b747f7f31ab17d8e605882150336 /src/plugins/coreplugin/dialogs/externaltoolconfig.h
parent04f2c01944a29f8dd3759861d5e540c88a1bd6f2 (diff)
downloadqt-creator-bdb5ecd1bc13137410c7dc4de8f6bfc7bf182011.tar.gz
Fix adding external tools.
Task-number: QTCREATORBUG-6961 Task-number: QTCREATORBUG-6960 Change-Id: Ied0b01f5a43bdc187625c0b7aa98845588322e5d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/coreplugin/dialogs/externaltoolconfig.h')
-rw-r--r--src/plugins/coreplugin/dialogs/externaltoolconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/dialogs/externaltoolconfig.h b/src/plugins/coreplugin/dialogs/externaltoolconfig.h
index 00afbd63f2..d7c4b09d43 100644
--- a/src/plugins/coreplugin/dialogs/externaltoolconfig.h
+++ b/src/plugins/coreplugin/dialogs/externaltoolconfig.h
@@ -74,11 +74,13 @@ public:
ExternalTool *toolForIndex(const QModelIndex &modelIndex) const;
QString categoryForIndex(const QModelIndex &modelIndex) const;
+ int rowForCategory(const QString &category) const;
void revertTool(const QModelIndex &modelIndex);
QModelIndex addCategory();
QModelIndex addTool(const QModelIndex &atIndex);
void removeTool(const QModelIndex &modelIndex);
Qt::DropActions supportedDropActions() const;
+ QString uncategorizedDisplayName() const;
private:
QVariant data(ExternalTool *tool, int role = Qt::DisplayRole) const;
QVariant data(const QString &category, int role = Qt::DisplayRole) const;