path: root/src/libs/installer/packagemanagercore.h
diff options
authorKatja Marttila <>2021-01-22 14:50:16 +0200
committerKatja Marttila <>2021-02-05 09:07:04 +0200
commit5aee36b74eb1d7613ea0108971e8a22f8dca8101 (patch)
tree30842cc3b88483c18facd2510ed7c5e3d0a0f138 /src/libs/installer/packagemanagercore.h
parenta7b0eead83379d9343429a37efa8e39f924e8525 (diff)
Try rerunning execute operation
Execute operation can have hard coded paths to program which is executed. In case the program is relocated, UNDO operation will fail as it will not find the program. Implemented new XXXX_OLD value which can be used for overwriting the hardcoded value. In case the program execution fails, program is tried to launch again with the replaced value. Task-number: QTIFW-2125 Change-Id: I446a4c423e53cc4ffc6e5e25617d2400945ac3d9 Reviewed-by: Arttu Tarkiainen <>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h
index b83d8f05a..5c480e1a9 100644
--- a/src/libs/installer/packagemanagercore.h
+++ b/src/libs/installer/packagemanagercore.h
@@ -169,6 +169,7 @@ public:
Q_INVOKABLE void setValue(const QString &key, const QString &value);
Q_INVOKABLE QString value(const QString &key, const QString &defaultValue = QString()) const;
Q_INVOKABLE QStringList values(const QString &key, const QStringList &defaultValue = QStringList()) const;
+ Q_INVOKABLE QString key(const QString &value) const;
QString replaceVariables(const QString &str) const;
QByteArray replaceVariables(const QByteArray &str) const;