Fix missing translations

Fixed some lacks of Q_OBJECT macro.

Change-Id: I226078baa40977ef49357b34b1e9dc5f0491d76a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Sergey Belyashov
2015-10-28 12:59:34 +03:00
parent 30ef3a3afc
commit 6ec3bcf866
4 changed files with 6 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ namespace ProjectExplorer {
class EnvironmentValidator : public QValidator class EnvironmentValidator : public QValidator
{ {
Q_OBJECT
public: public:
EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model, EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model,
QTreeView *view, QTreeView *view,
@@ -409,3 +410,5 @@ void Internal::EnvironmentTreeView::keyPressEvent(QKeyEvent *event)
} // namespace ProjectExplorer } // namespace ProjectExplorer
#include "environmentwidget.moc"

View File

@@ -46,6 +46,7 @@ namespace Internal {
class WaitForStopDialog : public QDialog class WaitForStopDialog : public QDialog
{ {
Q_OBJECT
public: public:
WaitForStopDialog(QList<ProjectExplorer::RunControl *> runControls); WaitForStopDialog(QList<ProjectExplorer::RunControl *> runControls);

View File

@@ -39,6 +39,7 @@ namespace Internal {
class QmlProfilerOptionsPage : public Core::IOptionsPage class QmlProfilerOptionsPage : public Core::IOptionsPage
{ {
Q_OBJECT
public: public:
QmlProfilerOptionsPage(); QmlProfilerOptionsPage();

View File

@@ -45,7 +45,7 @@ QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(
setProjectSettings(new QmlProfilerSettings()); setProjectSettings(new QmlProfilerSettings());
setGlobalSettings(QmlProfilerPlugin::globalSettings()); setGlobalSettings(QmlProfilerPlugin::globalSettings());
setId(Constants::SETTINGS); setId(Constants::SETTINGS);
setDisplayName(tr("QML Profiler Settings")); setDisplayName(QCoreApplication::translate("QmlProfilerRunConfiguration", "QML Profiler Settings"));
setUsingGlobalSettings(true); setUsingGlobalSettings(true);
resetProjectToGlobalSettings(); resetProjectToGlobalSettings();
} }