Logo
Explore Help
Sign In
feedc0de/qt-creator
1
0
Fork 0
You've already forked qt-creator
forked from qt-creator/qt-creator
Code Pull Requests Activity
Files
cc05c1637778db8210ea901b8da71aeef1bde05e
qt-creator/share/qtcreator/templates/wizards/qtcreatorplugin/myplugintr.h

14 lines
186 B
C
Raw Normal View History

Plugin wizard: Add missing license templates Change-Id: I3b43ebdb9823a5a7430946ca789188628a910b9d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-14 09:09:12 +01:00
%{Cpp:LicenseTemplate}\
Plugin wizard: Use Tr::tr Create plugins that use the Tr::tr pattern for translations. Change-Id: I9b6e6222951936c614c5ac45248e3d0bb58104ec Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-11-13 16:15:33 +01:00
#pragma once
#include <QCoreApplication>
namespace %{PluginName} {
struct Tr
{
Q_DECLARE_TR_FUNCTIONS(QtC::%{PluginName})
};
} // namespace %{PluginName}
Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 87ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API