UI files: Do not polute the global Ui namespace

Make sure all ui-files are in the plugin's internal namespace.

Change-Id: Ifb2c3093441e8feb89e46f52fbb386fc316cfd13
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Tobias Hunger
2011-11-23 15:15:01 +00:00
committed by hjk
parent 88fd98fbc4
commit 0ce9fa2c16
141 changed files with 790 additions and 647 deletions

View File

@@ -39,10 +39,17 @@
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
namespace CppTools {
namespace Internal {
namespace Ui {
class CppFileSettingsPage;
}
class CppFileSettingsPage;
} // namespace Ui
} // namespace Internal
} // namespace CppTools
class QSettings;
QT_END_NAMESPACE
namespace CppTools {
@@ -91,7 +98,7 @@ private:
inline QString licenseTemplatePath() const;
inline void setLicenseTemplatePath(const QString &);
Ui::CppFileSettingsPage *m_ui;
Internal::Ui::CppFileSettingsPage *m_ui;
};
class CppFileSettingsPage : public Core::IOptionsPage