You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
495 B
28 lines
495 B
/* |
|
SPDX-FileCopyrightText: 2022 Fushan Wen <qydwhotmail@gmail.com> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef IMAGEROLES_H |
|
#define IMAGEROLES_H |
|
|
|
class ImageRoles |
|
{ |
|
Q_GADGET |
|
|
|
public: |
|
enum RoleType { |
|
AuthorRole = Qt::UserRole, |
|
ScreenshotRole, |
|
ResolutionRole, |
|
PathRole, |
|
PackageNameRole, |
|
RemovableRole, |
|
PendingDeletionRole, |
|
ToggleRole, /**< Used in slideshow model */ |
|
}; |
|
Q_ENUM(RoleType) |
|
}; |
|
|
|
#endif
|
|
|