#include <klflibview_p.h>
Public Member Functions | |
Node () | |
Node (ItemKind k) | |
Node (const Node &other) | |
virtual | ~Node () |
Public Attributes | |
bool | allocated |
Whether this node is used. when false, this Node object is just unused memory space in the cache list. More... | |
ItemKind | kind |
NodeId | parent |
QList< NodeId > | children |
bool | allChildrenFetched |
TRUE if all the children of this node have been fetched and stored into children , FALSE if possibly there may be more children, we may need to query the resource. More... | |
Definition at line 118 of file klflibview_p.h.
|
inline |
Definition at line 119 of file klflibview_p.h.
|
inline |
Definition at line 120 of file klflibview_p.h.
|
inline |
Definition at line 122 of file klflibview_p.h.
|
inlinevirtual |
Definition at line 124 of file klflibview_p.h.
bool KLFLibModelCache::Node::allChildrenFetched |
TRUE if all the children of this node have been fetched and stored into children
, FALSE if possibly there may be more children, we may need to query the resource.
Definition at line 132 of file klflibview_p.h.
Referenced by KLFLibModelCache::cacheFindCategoryLabel(), KLFLibModelCache::canFetchMore(), KLFLibModelCache::fetchMore(), KLFLibModel::hasChildren(), KLFLibModelCache::lastNode(), KLFLibModelCache::nextNode(), operator<<(), and KLFLibModelCache::rebuildCache().
bool KLFLibModelCache::Node::allocated |
Whether this node is used. when false, this Node object is just unused memory space in the cache list.
Definition at line 126 of file klflibview_p.h.
Definition at line 129 of file klflibview_p.h.
Referenced by KLFLibModelCache::cacheFindCategoryLabel(), KLFLibModelCache::dumpNodeTree(), KLFLibModelCache::fetchMore(), KLFLibModelCache::getNodeRow(), KLFLibModel::hasChildren(), KLFLibModel::index(), KLFLibModelCache::lastNode(), KLFLibModelCache::nextNode(), operator<<(), KLFLibModelCache::prevNode(), KLFLibModel::rowCount(), KLFLibModelCache::treeInsertEntry(), and KLFLibModelCache::treeTakeEntry().
ItemKind KLFLibModelCache::Node::kind |
Definition at line 127 of file klflibview_p.h.
Referenced by KLFLibModelCache::fetchMore(), and operator<<().
NodeId KLFLibModelCache::Node::parent |
Definition at line 128 of file klflibview_p.h.
Referenced by KLFLibModelCache::createIndexFromId(), KLFLibModel::data(), KLFLibModelCache::fetchMore(), KLFLibModelCache::getNodeRow(), KLFLibModelCache::nextNode(), operator<<(), and KLFLibModel::parent().