summaryrefslogtreecommitdiffstats
path: root/src/manager-lib/applicationmodel.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2023-11-20 15:19:51 +0100
committerRobert Griebl <robert.griebl@qt.io>2023-11-20 17:06:47 +0100
commitb49f3cb9f30e9a3390c743d0e1b7884058e4b187 (patch)
tree08069845751f44cc0006cdf41d1b9449a0bf5306 /src/manager-lib/applicationmodel.h
parent72e146e771782b32f0a5e74d935d66061ef00fd5 (diff)
Fix all outstanding namespace issues
Also replaced the old QT_PREPEND_NAMESPACE_AM macro with the real namespace (QtAM::), as this makes the code easier to read for humans and also for tools like qdbuscpp2xml. The macro is still available, to support old custom appman code. Change-Id: Ifb379f03c1aacbd12ef799beb43013bba029e514 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'src/manager-lib/applicationmodel.h')
-rw-r--r--src/manager-lib/applicationmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager-lib/applicationmodel.h b/src/manager-lib/applicationmodel.h
index 5576e5cb..2a2eb021 100644
--- a/src/manager-lib/applicationmodel.h
+++ b/src/manager-lib/applicationmodel.h
@@ -36,7 +36,7 @@ public:
void setSortFunction(const QJSValue &callback);
Q_INVOKABLE int indexOfApplication(const QString &id) const;
- Q_INVOKABLE int indexOfApplication(QT_PREPEND_NAMESPACE_AM(Application) *application) const;
+ Q_INVOKABLE int indexOfApplication(QtAM::Application *application) const;
Q_INVOKABLE int mapToSource(int ourIndex) const;
Q_INVOKABLE int mapFromSource(int sourceIndex) const;
Q_INVOKABLE void invalidate();