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 <QRegExp>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
CustomParserConfigDialog::CustomParserConfigDialog(QDialog *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::CustomParserConfigDialog)
|
||||
@@ -165,3 +168,6 @@ void CustomParserConfigDialog::changed()
|
||||
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true);
|
||||
m_dirty = true;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
|
@@ -34,9 +34,10 @@
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace ProjectExplorer {
|
||||
namespace Internal {
|
||||
|
||||
namespace Ui { class CustomParserConfigDialog; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class CustomParserConfigDialog : public QDialog
|
||||
{
|
||||
@@ -67,4 +68,7 @@ private:
|
||||
bool m_dirty;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
#endif // CUSTOMPARSERCONFIGDIALOG_H
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CustomParserConfigDialog</class>
|
||||
<widget class="QDialog" name="CustomParserConfigDialog">
|
||||
<class>ProjectExplorer::Internal::CustomParserConfigDialog</class>
|
||||
<widget class="QDialog" name="ProjectExplorer::Internal::CustomParserConfigDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
@@ -211,7 +211,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>CustomParserConfigDialog</receiver>
|
||||
<receiver>ProjectExplorer::Internal::CustomParserConfigDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
@@ -227,7 +227,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>CustomParserConfigDialog</receiver>
|
||||
<receiver>ProjectExplorer::Internal::CustomParserConfigDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
Reference in New Issue
Block a user