File indexing completed on 2024-04-14 03:49:41
0001 /* 0002 This file is part of the KDE Baloo project. 0003 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 0008 #ifndef BALOO_ENGINE_DOCUMENT_OPERATIONS_H 0009 #define BALOO_ENGINE_DOCUMENT_OPERATIONS_H 0010 0011 namespace Baloo { 0012 0013 enum DocumentOperation { 0014 DocumentTerms = 0x1, 0015 FileNameTerms = 0x2, 0016 XAttrTerms = 0x4, 0017 DocumentData = 0x8, 0018 DocumentTime = 0x10, 0019 DocumentUrl = 0x20, 0020 Everything = DocumentTerms | FileNameTerms | XAttrTerms | DocumentData | DocumentTime | DocumentUrl, 0021 }; 0022 Q_DECLARE_FLAGS(DocumentOperations, DocumentOperation) 0023 Q_DECLARE_OPERATORS_FOR_FLAGS(DocumentOperations) 0024 0025 } 0026 0027 #endif