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