forked from qt-creator/qt-creator
CMakeKitConfigWidget: Clean up code
* Use namespace ProjectExplorer * Move around some headers Change-Id: I31bea44a25325b5dbc436c55c3db012e22503391 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -29,14 +29,17 @@
|
|||||||
#include "cmaketoolmanager.h"
|
#include "cmaketoolmanager.h"
|
||||||
#include "cmaketool.h"
|
#include "cmaketool.h"
|
||||||
|
|
||||||
#include <utils/qtcassert.h>
|
|
||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
#include <projectexplorer/kit.h>
|
#include <projectexplorer/kit.h>
|
||||||
#include <projectexplorer/projectexplorerconstants.h>
|
#include <projectexplorer/projectexplorerconstants.h>
|
||||||
|
|
||||||
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
|
|
||||||
|
using namespace ProjectExplorer;
|
||||||
|
|
||||||
namespace CMakeProjectManager {
|
namespace CMakeProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
@@ -44,9 +47,9 @@ namespace Internal {
|
|||||||
// CMakeKitConfigWidget:
|
// CMakeKitConfigWidget:
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
CMakeKitConfigWidget::CMakeKitConfigWidget(ProjectExplorer::Kit *kit,
|
CMakeKitConfigWidget::CMakeKitConfigWidget(Kit *kit,
|
||||||
const ProjectExplorer::KitInformation *ki) :
|
const KitInformation *ki) :
|
||||||
ProjectExplorer::KitConfigWidget(kit, ki),
|
KitConfigWidget(kit, ki),
|
||||||
m_comboBox(new QComboBox),
|
m_comboBox(new QComboBox),
|
||||||
m_manageButton(new QPushButton(KitConfigWidget::msgManage()))
|
m_manageButton(new QPushButton(KitConfigWidget::msgManage()))
|
||||||
{
|
{
|
||||||
@@ -194,9 +197,9 @@ void CMakeKitConfigWidget::manageCMakeTools()
|
|||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
CMakeGeneratorKitConfigWidget::CMakeGeneratorKitConfigWidget(ProjectExplorer::Kit *kit,
|
CMakeGeneratorKitConfigWidget::CMakeGeneratorKitConfigWidget(Kit *kit,
|
||||||
const ProjectExplorer::KitInformation *ki) :
|
const KitInformation *ki) :
|
||||||
ProjectExplorer::KitConfigWidget(kit, ki),
|
KitConfigWidget(kit, ki),
|
||||||
m_comboBox(new QComboBox)
|
m_comboBox(new QComboBox)
|
||||||
{
|
{
|
||||||
m_comboBox->setToolTip(toolTip());
|
m_comboBox->setToolTip(toolTip());
|
||||||
|
|||||||
Reference in New Issue
Block a user