File indexing completed on 2024-09-22 05:02:11
0001 /* 0002 SPDX-FileCopyrightText: 2022 Fushan Wen <qydwhotmail@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 class ImageRoles 0010 { 0011 Q_GADGET 0012 0013 public: 0014 enum RoleType { 0015 AuthorRole = Qt::UserRole, 0016 ScreenshotRole, 0017 ResolutionRole, 0018 PathRole, 0019 PackageNameRole, 0020 RemovableRole, 0021 PendingDeletionRole, 0022 ToggleRole, /**< Used in slideshow model */ 0023 }; 0024 Q_ENUM(RoleType) 0025 };