Commit e6bfa276 authored by Tobias Hunger's avatar Tobias Hunger

Ios: Do not pollute the global/Qt namespace with widgets

Change-Id: Iccaaff6bff386b8d2513ca79daa581d29b3c6fb2
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 1088cb8c
......@@ -27,12 +27,11 @@
#include <projectexplorer/buildstep.h>
QT_BEGIN_NAMESPACE
namespace Ui { class IosDeployStepWidget; }
QT_END_NAMESPACE
namespace Ios {
namespace Internal {
namespace Ui { class IosDeployStepWidget; }
class IosDeployStep;
class IosDeployStepWidget : public ProjectExplorer::BuildStepConfigWidget
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>IosDeployStepWidget</class>
<class>Ios::Internal::IosDeployStepWidget</class>
<widget class="QWidget" name="IosDeployStepWidget">
<property name="geometry">
<rect>
......
......@@ -50,7 +50,7 @@ namespace Internal {
IosSettingsWidget::IosSettingsWidget(QWidget *parent)
: QWidget(parent),
m_ui(new Ui_IosSettingsWidget),
m_ui(new Ui::IosSettingsWidget),
m_saveSettingsRequested(false)
{
initGui();
......
......@@ -32,13 +32,11 @@
#include <QWidget>
#include <QAbstractTableModel>
QT_BEGIN_NAMESPACE
class Ui_IosSettingsWidget;
QT_END_NAMESPACE
namespace Ios {
namespace Internal {
namespace Ui { class IosSettingsWidget; }
class IosSettingsWidget : public QWidget
{
Q_OBJECT
......@@ -52,7 +50,7 @@ public:
private:
void initGui();
Ui_IosSettingsWidget *m_ui;
Ui::IosSettingsWidget *m_ui;
bool m_saveSettingsRequested;
};
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>IosSettingsWidget</class>
<class>Ios::Internal::IosSettingsWidget</class>
<widget class="QWidget" name="IosSettingsWidget">
<property name="geometry">
<rect>
......
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