mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-05-13 21:39:33 +00:00
Fix translation contexts in classes not derived from qobject
Change-Id: I0afbc19a27179b0646564cbb195683279175e98c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
This commit is contained in:
parent
fd261ff6e5
commit
854734dcbe
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT ConsumeOutputOperation : public Operation
|
class INSTALLER_EXPORT ConsumeOutputOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::ConsumeOutputOperation)
|
||||||
public:
|
public:
|
||||||
ConsumeOutputOperation();
|
ConsumeOutputOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT CreateDesktopEntryOperation : public Operation
|
class INSTALLER_EXPORT CreateDesktopEntryOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateDesktopEntryOperation)
|
||||||
public:
|
public:
|
||||||
CreateDesktopEntryOperation();
|
CreateDesktopEntryOperation();
|
||||||
~CreateDesktopEntryOperation();
|
~CreateDesktopEntryOperation();
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT CreateLinkOperation : public Operation
|
class INSTALLER_EXPORT CreateLinkOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateLinkOperation)
|
||||||
public:
|
public:
|
||||||
CreateLinkOperation();
|
CreateLinkOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT CreateShortcutOperation : public Operation
|
class INSTALLER_EXPORT CreateShortcutOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateShortcutOperation)
|
||||||
public:
|
public:
|
||||||
CreateShortcutOperation();
|
CreateShortcutOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT EnvironmentVariableOperation : public Operation
|
class INSTALLER_EXPORT EnvironmentVariableOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::EnvironmentVariableOperation)
|
||||||
public:
|
public:
|
||||||
EnvironmentVariableOperation();
|
EnvironmentVariableOperation();
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ namespace QInstaller {
|
|||||||
class QSettingsWrapper;
|
class QSettingsWrapper;
|
||||||
class INSTALLER_EXPORT GlobalSettingsOperation : public Operation
|
class INSTALLER_EXPORT GlobalSettingsOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::GlobalSettingsOperation)
|
||||||
public:
|
public:
|
||||||
GlobalSettingsOperation();
|
GlobalSettingsOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT LicenseOperation : public Operation
|
class INSTALLER_EXPORT LicenseOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::LicenseOperation)
|
||||||
public:
|
public:
|
||||||
LicenseOperation();
|
LicenseOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT LineReplaceOperation : public Operation
|
class INSTALLER_EXPORT LineReplaceOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::LineReplaceOperation)
|
||||||
public:
|
public:
|
||||||
LineReplaceOperation();
|
LineReplaceOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT ReplaceOperation : public Operation
|
class INSTALLER_EXPORT ReplaceOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::ReplaceOperation)
|
||||||
public:
|
public:
|
||||||
ReplaceOperation();
|
ReplaceOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT SelfRestartOperation : public Operation
|
class INSTALLER_EXPORT SelfRestartOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::SelfRestartOperation)
|
||||||
public:
|
public:
|
||||||
SelfRestartOperation();
|
SelfRestartOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
|||||||
|
|
||||||
class INSTALLER_EXPORT SettingsOperation : public Operation
|
class INSTALLER_EXPORT SettingsOperation : public Operation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(QInstaller::SettingsOperation)
|
||||||
public:
|
public:
|
||||||
SettingsOperation();
|
SettingsOperation();
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ namespace KDUpdater {
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT CopyOperation : public UpdateOperation
|
class KDTOOLS_EXPORT CopyOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::CopyOperation)
|
||||||
public:
|
public:
|
||||||
CopyOperation();
|
CopyOperation();
|
||||||
~CopyOperation();
|
~CopyOperation();
|
||||||
@ -53,6 +54,7 @@ private:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT MoveOperation : public UpdateOperation
|
class KDTOOLS_EXPORT MoveOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::MoveOperation)
|
||||||
public:
|
public:
|
||||||
MoveOperation();
|
MoveOperation();
|
||||||
~MoveOperation();
|
~MoveOperation();
|
||||||
@ -66,6 +68,7 @@ public:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT DeleteOperation : public UpdateOperation
|
class KDTOOLS_EXPORT DeleteOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::DeleteOperation)
|
||||||
public:
|
public:
|
||||||
DeleteOperation();
|
DeleteOperation();
|
||||||
~DeleteOperation();
|
~DeleteOperation();
|
||||||
@ -81,6 +84,7 @@ public:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT MkdirOperation : public UpdateOperation
|
class KDTOOLS_EXPORT MkdirOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::MkdirOperation)
|
||||||
public:
|
public:
|
||||||
MkdirOperation();
|
MkdirOperation();
|
||||||
|
|
||||||
@ -93,6 +97,7 @@ public:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT RmdirOperation : public UpdateOperation
|
class KDTOOLS_EXPORT RmdirOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::RmdirOperation)
|
||||||
public:
|
public:
|
||||||
RmdirOperation();
|
RmdirOperation();
|
||||||
|
|
||||||
@ -105,6 +110,7 @@ public:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT AppendFileOperation : public UpdateOperation
|
class KDTOOLS_EXPORT AppendFileOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::AppendFileOperation)
|
||||||
public:
|
public:
|
||||||
AppendFileOperation();
|
AppendFileOperation();
|
||||||
|
|
||||||
@ -117,6 +123,7 @@ public:
|
|||||||
|
|
||||||
class KDTOOLS_EXPORT PrependFileOperation : public UpdateOperation
|
class KDTOOLS_EXPORT PrependFileOperation : public UpdateOperation
|
||||||
{
|
{
|
||||||
|
Q_DECLARE_TR_FUNCTIONS(KDUpdater::PrependFileOperation)
|
||||||
public:
|
public:
|
||||||
PrependFileOperation();
|
PrependFileOperation();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user