forked from qt-creator/qt-creator
C++ style settings: Compile fix for namespaced Qt.
Change-Id: I89db5239576385823315443474669f5fd9ef69b4 Reviewed-on: http://codereview.qt.nokia.com/87 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk
This commit is contained in:
@@ -179,7 +179,7 @@ CppCodeStylePreferencesWidget::CppCodeStylePreferencesWidget(QWidget *parent)
|
||||
: QWidget(parent),
|
||||
m_tabPreferences(0),
|
||||
m_cppCodeStylePreferences(0),
|
||||
m_ui(new ::Ui::CppCodeStyleSettingsPage)
|
||||
m_ui(new Ui::CppCodeStyleSettingsPage)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
|
||||
@@ -13,12 +13,6 @@
|
||||
#include "cppcodestylesettings.h"
|
||||
#include "cppcodeformatter.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class CppCodeStyleSettingsPage;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace TextEditor {
|
||||
class FontSettings;
|
||||
class TabSettings;
|
||||
@@ -33,6 +27,10 @@ class CppCodeStylePreferences;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
namespace Ui {
|
||||
class CppCodeStyleSettingsPage;
|
||||
}
|
||||
|
||||
class CppCodeStylePreferencesWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CppCodeStyleSettingsPage</class>
|
||||
<widget class="QWidget" name="CppCodeStyleSettingsPage">
|
||||
<class>CppTools::Internal::CppCodeStyleSettingsPage</class>
|
||||
<widget class="QWidget" name="CppTools::Internal::CppCodeStyleSettingsPage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>759</width>
|
||||
<height>467</height>
|
||||
<width>757</width>
|
||||
<height>465</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
||||
Reference in New Issue
Block a user