pineapple-comic-reader/dataitems/libraryitem.h
2024-11-09 15:05:14 +08:00

17 lines
278 B
C++

#pragma once
#include <QStandardItem>
class LibraryItem : public QStandardItem
{
Q_GADGET
public:
enum Roles {
IdRole = Qt::UserRole + 1,
UuidRole
};
Q_ENUM(Roles)
explicit LibraryItem(int id, const QString &name, const QString &uuid);
};