forked from qt-creator/qt-creator
Fix lupdate issues
Change-Id: I950d2f53fcc03ba447140f3c6957422ca40111b5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -29,6 +29,8 @@
|
|||||||
#include <QVector>
|
#include <QVector>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
class TextEditorWidget;
|
class TextEditorWidget;
|
||||||
}
|
}
|
||||||
@@ -40,6 +42,8 @@ class AndroidManifestEditorIconWidget;
|
|||||||
|
|
||||||
class AndroidManifestEditorIconContainerWidget : public QWidget
|
class AndroidManifestEditorIconContainerWidget : public QWidget
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(Android::Internal::AndroidManifestEditorIconContainerWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AndroidManifestEditorIconContainerWidget(QWidget *parent,
|
explicit AndroidManifestEditorIconContainerWidget(QWidget *parent,
|
||||||
TextEditor::TextEditorWidget *textEditorWidget);
|
TextEditor::TextEditorWidget *textEditorWidget);
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ bool JLinkUvscAdapterOptions::operator==(const JLinkUvscAdapterOptions &other) c
|
|||||||
JLinkUvscServerProvider::JLinkUvscServerProvider()
|
JLinkUvscServerProvider::JLinkUvscServerProvider()
|
||||||
: UvscServerProvider(Constants::UVSC_JLINK_PROVIDER_ID)
|
: UvscServerProvider(Constants::UVSC_JLINK_PROVIDER_ID)
|
||||||
{
|
{
|
||||||
setTypeDisplayName(tr("uVision JLink"));
|
setTypeDisplayName(UvscServerProvider::tr("uVision JLink"));
|
||||||
setConfigurationWidgetCreator([this] { return new JLinkUvscServerProviderConfigWidget(this); });
|
setConfigurationWidgetCreator([this] { return new JLinkUvscServerProviderConfigWidget(this); });
|
||||||
setSupportedDrivers({"Segger\\JL2CM3.dll"});
|
setSupportedDrivers({"Segger\\JL2CM3.dll"});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,11 +27,15 @@
|
|||||||
|
|
||||||
#include <coreplugin/dialogs/ioptionspage.h>
|
#include <coreplugin/dialogs/ioptionspage.h>
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
namespace MesonProjectManager {
|
namespace MesonProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
class MesonTools;
|
class MesonTools;
|
||||||
class GeneralSettingsPage final : public Core::IOptionsPage
|
class GeneralSettingsPage final : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(MesonProjectManager::Internal::GeneralSettingsPage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GeneralSettingsPage();
|
GeneralSettingsPage();
|
||||||
void saveAll();
|
void saveAll();
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ namespace MesonProjectManager {
|
|||||||
namespace Internal {
|
namespace Internal {
|
||||||
class MesonToolKitAspect final : public ProjectExplorer::KitAspect
|
class MesonToolKitAspect final : public ProjectExplorer::KitAspect
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(MesonProjectManager::Internal::MesonToolKitAspect)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MesonToolKitAspect();
|
MesonToolKitAspect();
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ namespace MesonProjectManager {
|
|||||||
namespace Internal {
|
namespace Internal {
|
||||||
class NinjaToolKitAspect final : public ProjectExplorer::KitAspect
|
class NinjaToolKitAspect final : public ProjectExplorer::KitAspect
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(MesonProjectManager::Internal::NinjaToolKitAspect)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NinjaToolKitAspect();
|
NinjaToolKitAspect();
|
||||||
|
|
||||||
|
|||||||
@@ -27,11 +27,15 @@
|
|||||||
|
|
||||||
#include <coreplugin/dialogs/ioptionspage.h>
|
#include <coreplugin/dialogs/ioptionspage.h>
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
|
|
||||||
namespace MesonProjectManager {
|
namespace MesonProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
class MesonTools;
|
class MesonTools;
|
||||||
class ToolsSettingsPage final : public Core::IOptionsPage
|
class ToolsSettingsPage final : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(MesonProjectManager::Internal::ToolsSettingsPage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ToolsSettingsPage();
|
ToolsSettingsPage();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -435,7 +435,7 @@ void QmakeProjectManagerPluginPrivate::runQMakeImpl(Project *p, Node *node)
|
|||||||
if (auto *profile = dynamic_cast<QmakeProFileNode *>(node))
|
if (auto *profile = dynamic_cast<QmakeProFileNode *>(node))
|
||||||
bc->setSubNodeBuild(profile);
|
bc->setSubNodeBuild(profile);
|
||||||
|
|
||||||
BuildManager::appendStep(qs, tr("QMake"));
|
BuildManager::appendStep(qs, QmakeProjectManagerPlugin::tr("QMake"));
|
||||||
bc->setSubNodeBuild(nullptr);
|
bc->setSubNodeBuild(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ class Project;
|
|||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
class FilePathModel : public QAbstractListModel
|
class FilePathModel : public QAbstractListModel
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QmlDesigner::FilePathModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FilePathModel(ProjectExplorer::Project *project, QObject *parent = nullptr);
|
FilePathModel(ProjectExplorer::Project *project, QObject *parent = nullptr);
|
||||||
~FilePathModel() override;
|
~FilePathModel() override;
|
||||||
|
|||||||
Reference in New Issue
Block a user