[pim/akonadi] src/core/jobs: Port away from deprecated Q_FLAGS

Nicolas Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ceead226c1e0dce6ad89a66dfa1eb87c3b7d64de by Nicolas Fella.
Committed on 30/07/2026 at 10:11.
Pushed by nicolasfella into branch 'master'.

Port away from deprecated Q_FLAGS

M  +1    -1    src/core/jobs/itemfetchjob.h

https://invent.kde.org/pim/akonadi/-/commit/ceead226c1e0dce6ad89a66dfa1eb87c3b7d64de

diff --git a/src/core/jobs/itemfetchjob.h b/src/core/jobs/itemfetchjob.h
index cdb963b40..a4e0c5a92 100644
--- a/src/core/jobs/itemfetchjob.h
+++ b/src/core/jobs/itemfetchjob.h
@@ -73,7 +73,6 @@ class ItemFetchScope;
 class AKONADICORE_EXPORT ItemFetchJob : public Job
 {
     Q_OBJECT
-    Q_FLAGS(DeliveryOptions)
 public:
     /*!
      * Creates a new item fetch job that retrieves all items inside the given collection.
@@ -202,6 +201,7 @@ public:
         Default = ItemGetter | EmitItemsInBatches
     };
     Q_DECLARE_FLAGS(DeliveryOptions, DeliveryOption)
+    Q_FLAG(DeliveryOptions)
 
     /*!
      * Sets the mechanisms by which the items should be fetched
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.