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 
12 namespace Baloo {
13 
14 enum DocumentOperation {
15     DocumentTerms =  0x1,
16     FileNameTerms =  0x2,
17     XAttrTerms    =  0x4,
18     DocumentData  =  0x8,
19     DocumentTime  = 0x10,
20     DocumentUrl   = 0x20,
21     Everything    = DocumentTerms | FileNameTerms | XAttrTerms | DocumentData | DocumentTime | DocumentUrl,
22 };
23 Q_DECLARE_FLAGS(DocumentOperations, DocumentOperation)
24 Q_DECLARE_OPERATORS_FOR_FLAGS(DocumentOperations)
25 
26 }
27 
28 #endif
29