File indexing completed on 2024-05-12 04:21:08
0001 /* 0002 * SPDX-FileCopyrightText: (C) 2017 Atul Sharma <atulsharma406@gmail.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef ITEMTYPES_H 0008 #define ITEMTYPES_H 0009 #include <QObject> 0010 0011 class Types : public QObject 0012 { 0013 Q_OBJECT 0014 Q_ENUMS(ItemTypes) 0015 Q_ENUMS(TimeGroup) 0016 Q_ENUMS(LocationGroup) 0017 Q_ENUMS(QueryType) 0018 public: 0019 using QObject::QObject; 0020 ~Types() = default; 0021 0022 enum ItemTypes { Album = 0, Folder, Image }; 0023 0024 enum TimeGroup { Year = 3, Month, Week, Day }; 0025 0026 enum LocationGroup { Country = 7, State, City }; 0027 0028 enum QueryType { LocationQuery = 10, TimeQuery }; 0029 }; 0030 0031 #endif