Lines Matching refs:indexNode

272 … const QFileSystemModelPrivate::QFileSystemNode *indexNode = parentNode->children.value(childName);  in index()  local
273 Q_ASSERT(indexNode); in index()
275 … return createIndex(row, column, const_cast<QFileSystemModelPrivate::QFileSystemNode*>(indexNode)); in index()
314 …QFileSystemModelPrivate::QFileSystemNode *indexNode = static_cast<QFileSystemModelPrivate::QFileSy… in node() local
315 Q_ASSERT(indexNode); in node()
316 return indexNode; in node()
588 QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(index); in parent() local
589 Q_ASSERT(indexNode != nullptr); in parent()
590 QFileSystemModelPrivate::QFileSystemNode *parentNode = indexNode->parent; in parent()
636 const QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(parent); in hasChildren() local
637 Q_ASSERT(indexNode); in hasChildren()
638 return (indexNode->isDir()); in hasChildren()
649 const QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(parent); in canFetchMore() local
650 return (!indexNode->populatedChildren); in canFetchMore()
661 QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(parent); in fetchMore() local
662 if (indexNode->populatedChildren) in fetchMore()
664 indexNode->populatedChildren = true; in fetchMore()
922 QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(idx); in setData() local
923 QFileSystemModelPrivate::QFileSystemNode *parentNode = indexNode->parent; in setData()
924 …int visibleLocation = parentNode->visibleLocation(parentNode->children.value(indexNode->fileName)-… in setData()
999 QFileSystemModelPrivate::QFileSystemNode *indexNode = d->node(index); in flags() local
1000 if (d->nameFilterDisables && !d->passNameFilters(indexNode)) { in flags()
1009 if ((index.column() == 0) && indexNode->permissions() & QFile::WriteUser) { in flags()
1011 if (indexNode->isDir()) in flags()
1110 QFileSystemModelPrivate::QFileSystemNode *indexNode = node(parent); in sortChildren() local
1111 if (indexNode->children.count() == 0) in sortChildren()
1116 …for (auto iterator = indexNode->children.constBegin(), cend = indexNode->children.constEnd(); iter… in sortChildren()
1126 indexNode->visibleChildren.clear(); in sortChildren()
1128 indexNode->dirtyChildrenIndex = -1; in sortChildren()
1130 indexNode->visibleChildren.reserve(numValues); in sortChildren()
1132 indexNode->visibleChildren.append(values.at(i)->fileName); in sortChildren()
1139 QFileSystemModelPrivate::QFileSystemNode *indexNode = node(childIndex); in sortChildren() local
1141 if (indexNode->isVisible) in sortChildren()
2027 const QFileSystemModelPrivate::QFileSystemNode *indexNode = node(index); in unwatchPathsAt() local
2028 if (indexNode == nullptr) in unwatchPathsAt()
2030 const Qt::CaseSensitivity caseSensitivity = indexNode->caseSensitive() in unwatchPathsAt()
2032 const QString path = indexNode->fileInfo().absoluteFilePath(); in unwatchPathsAt()