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

9 lines
233 B
C++

#include "libraryitem.h"
LibraryItem::LibraryItem(int id, const QString &name, const QString &uuid)
: QStandardItem(QIcon::fromTheme(QIcon::ThemeIcon::FolderOpen), name)
{
setData(id, IdRole);
setData(uuid, UuidRole);
}