Commit 47a5c7f4 authored by Tobias Hunger's avatar Tobias Hunger

CMakeKitConfigWidget: Clean up code

* Use namespace ProjectExplorer
* Move around some headers

Change-Id: I31bea44a25325b5dbc436c55c3db012e22503391
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 2bcfce96
......@@ -29,14 +29,17 @@
#include "cmaketoolmanager.h"
#include "cmaketool.h"
#include <utils/qtcassert.h>
#include <coreplugin/icore.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
#include <QComboBox>
#include <QPushButton>
using namespace ProjectExplorer;
namespace CMakeProjectManager {
namespace Internal {
......@@ -44,9 +47,9 @@ namespace Internal {
// CMakeKitConfigWidget:
// --------------------------------------------------------------------
CMakeKitConfigWidget::CMakeKitConfigWidget(ProjectExplorer::Kit *kit,
const ProjectExplorer::KitInformation *ki) :
ProjectExplorer::KitConfigWidget(kit, ki),
CMakeKitConfigWidget::CMakeKitConfigWidget(Kit *kit,
const KitInformation *ki) :
KitConfigWidget(kit, ki),
m_comboBox(new QComboBox),
m_manageButton(new QPushButton(KitConfigWidget::msgManage()))
{
......@@ -194,9 +197,9 @@ void CMakeKitConfigWidget::manageCMakeTools()
// --------------------------------------------------------------------
CMakeGeneratorKitConfigWidget::CMakeGeneratorKitConfigWidget(ProjectExplorer::Kit *kit,
const ProjectExplorer::KitInformation *ki) :
ProjectExplorer::KitConfigWidget(kit, ki),
CMakeGeneratorKitConfigWidget::CMakeGeneratorKitConfigWidget(Kit *kit,
const KitInformation *ki) :
KitConfigWidget(kit, ki),
m_comboBox(new QComboBox)
{
m_comboBox->setToolTip(toolTip());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment