mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
added new fields to Folder class
This commit is contained in:
parent
cf79dbad91
commit
865026e46f
@ -10,6 +10,10 @@ class Folder : public LibraryItem
|
|||||||
public:
|
public:
|
||||||
bool knownParent;
|
bool knownParent;
|
||||||
bool knownId;
|
bool knownId;
|
||||||
|
|
||||||
|
qint32 numChildren; //-1 for unknown number of children
|
||||||
|
qulonglong firstChildId; //0 for unknown first child
|
||||||
|
QString customImage; //empty for none custom image
|
||||||
|
|
||||||
Folder():knownParent(false), knownId(false){};
|
Folder():knownParent(false), knownId(false){};
|
||||||
Folder(qulonglong sid, qulonglong pid,QString fn, QString fp):knownParent(true), knownId(true){id = sid; parentId = pid;name = fn; path = fp;};
|
Folder(qulonglong sid, qulonglong pid,QString fn, QString fp):knownParent(true), knownId(true){id = sid; parentId = pid;name = fn; path = fp;};
|
||||||
|
Loading…
Reference in New Issue
Block a user