forked from qt-creator/qt-creator
ProjectExplorer: Add missing namespace around CustomParserConfigDialog.
This also fixes compilation with namespaced Qt. Change-Id: I74c15a97c81cc414d1d850cb0dabf72014c7ff6b Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -33,6 +33,9 @@
|
|||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
|
|
||||||
|
namespace ProjectExplorer {
|
||||||
|
namespace Internal {
|
||||||
|
|
||||||
CustomParserConfigDialog::CustomParserConfigDialog(QDialog *parent) :
|
CustomParserConfigDialog::CustomParserConfigDialog(QDialog *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::CustomParserConfigDialog)
|
ui(new Ui::CustomParserConfigDialog)
|
||||||
@@ -165,3 +168,6 @@ void CustomParserConfigDialog::changed()
|
|||||||
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true);
|
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true);
|
||||||
m_dirty = true;
|
m_dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
} // namespace ProjectExplorer
|
||||||
|
@@ -34,9 +34,10 @@
|
|||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
namespace ProjectExplorer {
|
||||||
|
namespace Internal {
|
||||||
|
|
||||||
namespace Ui { class CustomParserConfigDialog; }
|
namespace Ui { class CustomParserConfigDialog; }
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|
||||||
class CustomParserConfigDialog : public QDialog
|
class CustomParserConfigDialog : public QDialog
|
||||||
{
|
{
|
||||||
@@ -67,4 +68,7 @@ private:
|
|||||||
bool m_dirty;
|
bool m_dirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
} // namespace ProjectExplorer
|
||||||
|
|
||||||
#endif // CUSTOMPARSERCONFIGDIALOG_H
|
#endif // CUSTOMPARSERCONFIGDIALOG_H
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>CustomParserConfigDialog</class>
|
<class>ProjectExplorer::Internal::CustomParserConfigDialog</class>
|
||||||
<widget class="QDialog" name="CustomParserConfigDialog">
|
<widget class="QDialog" name="ProjectExplorer::Internal::CustomParserConfigDialog">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
<connection>
|
<connection>
|
||||||
<sender>buttonBox</sender>
|
<sender>buttonBox</sender>
|
||||||
<signal>accepted()</signal>
|
<signal>accepted()</signal>
|
||||||
<receiver>CustomParserConfigDialog</receiver>
|
<receiver>ProjectExplorer::Internal::CustomParserConfigDialog</receiver>
|
||||||
<slot>accept()</slot>
|
<slot>accept()</slot>
|
||||||
<hints>
|
<hints>
|
||||||
<hint type="sourcelabel">
|
<hint type="sourcelabel">
|
||||||
@@ -227,7 +227,7 @@
|
|||||||
<connection>
|
<connection>
|
||||||
<sender>buttonBox</sender>
|
<sender>buttonBox</sender>
|
||||||
<signal>rejected()</signal>
|
<signal>rejected()</signal>
|
||||||
<receiver>CustomParserConfigDialog</receiver>
|
<receiver>ProjectExplorer::Internal::CustomParserConfigDialog</receiver>
|
||||||
<slot>reject()</slot>
|
<slot>reject()</slot>
|
||||||
<hints>
|
<hints>
|
||||||
<hint type="sourcelabel">
|
<hint type="sourcelabel">
|
||||||
|
Reference in New Issue
Block a user