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
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::ConsumeOutputOperation)
|
||||
public:
|
||||
ConsumeOutputOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT CreateDesktopEntryOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateDesktopEntryOperation)
|
||||
public:
|
||||
CreateDesktopEntryOperation();
|
||||
~CreateDesktopEntryOperation();
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT CreateLinkOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateLinkOperation)
|
||||
public:
|
||||
CreateLinkOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT CreateShortcutOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateShortcutOperation)
|
||||
public:
|
||||
CreateShortcutOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT EnvironmentVariableOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::EnvironmentVariableOperation)
|
||||
public:
|
||||
EnvironmentVariableOperation();
|
||||
|
||||
|
@ -36,6 +36,7 @@ namespace QInstaller {
|
||||
class QSettingsWrapper;
|
||||
class INSTALLER_EXPORT GlobalSettingsOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::GlobalSettingsOperation)
|
||||
public:
|
||||
GlobalSettingsOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT LicenseOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::LicenseOperation)
|
||||
public:
|
||||
LicenseOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT LineReplaceOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::LineReplaceOperation)
|
||||
public:
|
||||
LineReplaceOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT ReplaceOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::ReplaceOperation)
|
||||
public:
|
||||
ReplaceOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT SelfRestartOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::SelfRestartOperation)
|
||||
public:
|
||||
SelfRestartOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace QInstaller {
|
||||
|
||||
class INSTALLER_EXPORT SettingsOperation : public Operation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QInstaller::SettingsOperation)
|
||||
public:
|
||||
SettingsOperation();
|
||||
|
||||
|
@ -35,6 +35,7 @@ namespace KDUpdater {
|
||||
|
||||
class KDTOOLS_EXPORT CopyOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::CopyOperation)
|
||||
public:
|
||||
CopyOperation();
|
||||
~CopyOperation();
|
||||
@ -53,6 +54,7 @@ private:
|
||||
|
||||
class KDTOOLS_EXPORT MoveOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::MoveOperation)
|
||||
public:
|
||||
MoveOperation();
|
||||
~MoveOperation();
|
||||
@ -66,6 +68,7 @@ public:
|
||||
|
||||
class KDTOOLS_EXPORT DeleteOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::DeleteOperation)
|
||||
public:
|
||||
DeleteOperation();
|
||||
~DeleteOperation();
|
||||
@ -81,6 +84,7 @@ public:
|
||||
|
||||
class KDTOOLS_EXPORT MkdirOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::MkdirOperation)
|
||||
public:
|
||||
MkdirOperation();
|
||||
|
||||
@ -93,6 +97,7 @@ public:
|
||||
|
||||
class KDTOOLS_EXPORT RmdirOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::RmdirOperation)
|
||||
public:
|
||||
RmdirOperation();
|
||||
|
||||
@ -105,6 +110,7 @@ public:
|
||||
|
||||
class KDTOOLS_EXPORT AppendFileOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::AppendFileOperation)
|
||||
public:
|
||||
AppendFileOperation();
|
||||
|
||||
@ -117,6 +123,7 @@ public:
|
||||
|
||||
class KDTOOLS_EXPORT PrependFileOperation : public UpdateOperation
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(KDUpdater::PrependFileOperation)
|
||||
public:
|
||||
PrependFileOperation();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user