diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-30 16:58:41 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-06-30 16:58:41 +0300 |
commit | d25f15af24912a57a4b1b18524ff78b5a575d6a6 (patch) | |
tree | c876814b3479fc159d40f22343d22f7e55bb6b0e /src/common | |
parent | cef6ab2cc4e560e3c17f88c1b95448f772e7e738 (diff) |
Add Q_ENUM
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/syncfilestatus.cpp | 2 | ||||
-rw-r--r-- | src/common/syncfilestatus.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/syncfilestatus.cpp b/src/common/syncfilestatus.cpp index fe9d4fc2a..d62f212f5 100644 --- a/src/common/syncfilestatus.cpp +++ b/src/common/syncfilestatus.cpp @@ -82,3 +82,5 @@ QString SyncFileStatus::toSocketAPIString() const return statusString; } } + +#include "syncfilestatus.moc" diff --git a/src/common/syncfilestatus.h b/src/common/syncfilestatus.h index 524a43274..9e9c1f539 100644 --- a/src/common/syncfilestatus.h +++ b/src/common/syncfilestatus.h @@ -29,6 +29,7 @@ namespace OCC { */ class OCSYNC_EXPORT SyncFileStatus { + Q_GADGET public: enum SyncFileStatusTag { StatusNone, @@ -38,6 +39,7 @@ public: StatusError, StatusExcluded, }; + Q_ENUM(SyncFileStatusTag); SyncFileStatus(); SyncFileStatus(SyncFileStatusTag); |