| 1 | /* |
| 2 | This file is part of the KDE Baloo project. |
| 3 | SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 | */ |
| 7 | |
| 8 | #ifndef BALOO_ENGINE_DOCUMENT_OPERATIONS_H |
| 9 | #define BALOO_ENGINE_DOCUMENT_OPERATIONS_H |
| 10 | |
| 11 | namespace Baloo { |
| 12 | |
| 13 | enum DocumentOperation { |
| 14 | DocumentTerms = 0x1, |
| 15 | FileNameTerms = 0x2, |
| 16 | XAttrTerms = 0x4, |
| 17 | DocumentData = 0x8, |
| 18 | DocumentTime = 0x10, |
| 19 | DocumentUrl = 0x20, |
| 20 | Everything = DocumentTerms | FileNameTerms | XAttrTerms | DocumentData | DocumentTime | DocumentUrl, |
| 21 | }; |
| 22 | Q_DECLARE_FLAGS(DocumentOperations, DocumentOperation) |
| 23 | Q_DECLARE_OPERATORS_FOR_FLAGS(DocumentOperations) |
| 24 | |
| 25 | } |
| 26 | |
| 27 | #endif |
| 28 | |