summaryrefslogtreecommitdiff
path: root/src/manager-lib/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager-lib/application.h')
-rw-r--r--src/manager-lib/application.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/manager-lib/application.h b/src/manager-lib/application.h
index 20a27dea..7789d74c 100644
--- a/src/manager-lib/application.h
+++ b/src/manager-lib/application.h
@@ -51,6 +51,8 @@
#include "installationreport.h"
#include "exception.h"
+AM_BEGIN_NAMESPACE
+
class AbstractRuntime;
class ApplicationManager;
class JsonApplicationScanner;
@@ -68,11 +70,11 @@ class AM_EXPORT Application : public QObject
Q_PROPERTY(qreal importance READ importance)
Q_PROPERTY(bool builtIn READ isBuiltIn)
Q_PROPERTY(bool alias READ isAlias)
- Q_PROPERTY(const Application *nonAliased READ nonAliased)
+ Q_PROPERTY(const AM_PREPEND_NAMESPACE(Application) *nonAliased READ nonAliased)
Q_PROPERTY(QStringList capabilities READ capabilities)
Q_PROPERTY(QStringList supportedMimeTypes READ supportedMimeTypes)
Q_PROPERTY(QStringList categories READ categories)
- Q_PROPERTY(AbstractRuntime *runtime READ currentRuntime)
+ Q_PROPERTY(AM_PREPEND_NAMESPACE(AbstractRuntime) *runtime READ currentRuntime)
public:
enum Type { Gui, Headless };
@@ -190,6 +192,8 @@ private:
Q_DISABLE_COPY(Application)
};
-Q_DECLARE_METATYPE(const Application *)
+AM_END_NAMESPACE
+
+Q_DECLARE_METATYPE(const AM_PREPEND_NAMESPACE(Application *))
-QDebug operator<<(QDebug debug, const Application *app);
+QDebug operator<<(QDebug debug, const AM_PREPEND_NAMESPACE(Application) *app);