forked from qt-creator/qt-creator
Fix i18n problems
In the QmlEngine, a few tr() have been replaced by QCoreApplication::translate(). In other files, Q_OBJECT has been added to the class definitions. Change-Id: Ia0505c19934dc691cd3d67f4946293290c2fec68 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Internal {
|
||||
|
||||
class GdbOptionsPageWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GdbOptionsPageWidget();
|
||||
Utils::SavedActionSet group;
|
||||
@@ -70,6 +71,7 @@ public:
|
||||
|
||||
class GdbOptionsPage : public Core::IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GdbOptionsPage();
|
||||
|
||||
@@ -337,6 +339,7 @@ void GdbOptionsPage::finish()
|
||||
|
||||
class GdbOptionsPageWidget2 : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GdbOptionsPageWidget2();
|
||||
|
||||
@@ -437,6 +440,7 @@ GdbOptionsPageWidget2::GdbOptionsPageWidget2()
|
||||
// The "Dangerous" options.
|
||||
class GdbOptionsPage2 : public Core::IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GdbOptionsPage2();
|
||||
|
||||
@@ -488,3 +492,5 @@ void addGdbOptionPages(QList<IOptionsPage *> *opts)
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
#include "gdboptionspage.moc"
|
||||
|
||||
Reference in New Issue
Block a user