mirror of
https://github.com/YACReader/yacreader
synced 2025-07-25 08:25:03 -04:00
added 'add new label' support
This commit is contained in:
@ -4,6 +4,9 @@
|
||||
#include <QIcon>
|
||||
#include <QVariant>
|
||||
|
||||
#include "yacreader_global.h"
|
||||
//TODO add propper constructors, using QList<QVariant> is not safe
|
||||
|
||||
class ListItem
|
||||
{
|
||||
public:
|
||||
@ -31,6 +34,8 @@ class LabelItem : public ListItem
|
||||
public:
|
||||
LabelItem(const QList<QVariant> &data);
|
||||
QIcon getIcon() const;
|
||||
YACReader::LabelColors colorid();
|
||||
QString name();
|
||||
};
|
||||
|
||||
//------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user