summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/kitchooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/kitchooser.h')
-rw-r--r--src/plugins/projectexplorer/kitchooser.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/kitchooser.h b/src/plugins/projectexplorer/kitchooser.h
index 3439741d66..eb16ca296c 100644
--- a/src/plugins/projectexplorer/kitchooser.h
+++ b/src/plugins/projectexplorer/kitchooser.h
@@ -32,7 +32,12 @@
#include "projectexplorer_export.h"
-#include <QComboBox>
+#include <QWidget>
+
+QT_BEGIN_NAMESPACE
+class QComboBox;
+class QPushButton;
+QT_END_NAMESPACE
namespace Core { class Id; }
@@ -41,7 +46,7 @@ namespace ProjectExplorer {
class Kit;
// Let the user pick a kit.
-class PROJECTEXPLORER_EXPORT KitChooser : public QComboBox
+class PROJECTEXPLORER_EXPORT KitChooser : public QWidget
{
Q_OBJECT
@@ -53,11 +58,15 @@ public:
Kit *currentKit() const;
+signals:
+ void currentIndexChanged(int);
+
public slots:
void populate();
private slots:
void onCurrentIndexChanged(int index);
+ void onManageButtonClicked();
protected:
virtual bool kitMatches(const Kit *k) const;
@@ -66,6 +75,8 @@ protected:
private:
Kit *kitAt(int index) const;
+ QComboBox *m_chooser;
+ QPushButton *m_manageButton;
};
} // namespace ProjectExplorer