Qt 4.8
Public Functions | Public Variables | Properties | List of all members
QFileSystemModelVisibleFinder Class Reference

Public Functions

bool operator() (const QString &, QString r) const
 
 QFileSystemModelVisibleFinder (QFileSystemModelPrivate::QFileSystemNode *node, QFileSystemModelSorter *sorter)
 

Public Variables

QString name
 

Properties

QFileSystemModelPrivate::QFileSystemNodeparentNode
 
QFileSystemModelSortersorter
 

Detailed Description

Definition at line 1792 of file qfilesystemmodel.cpp.

Constructors and Destructors

◆ QFileSystemModelVisibleFinder()

QFileSystemModelVisibleFinder::QFileSystemModelVisibleFinder ( QFileSystemModelPrivate::QFileSystemNode node,
QFileSystemModelSorter sorter 
)
inline

Definition at line 1795 of file qfilesystemmodel.cpp.

1795 : parentNode(node), sorter(sorter) {}
QFileSystemModelPrivate::QFileSystemNode * parentNode
QFileSystemModelSorter * sorter

Functions

◆ operator()()

bool QFileSystemModelVisibleFinder::operator() ( const QString ,
QString  r 
) const
inline

Definition at line 1797 of file qfilesystemmodel.cpp.

1798  {
1799  return sorter->compareNodes(parentNode->children.value(name), parentNode->children.value(r));
1800  }
QHash< QString, QFileSystemNode * > children
QFileSystemModelPrivate::QFileSystemNode * parentNode
QFileSystemModelSorter * sorter
bool compareNodes(const QFileSystemModelPrivate::QFileSystemNode *l, const QFileSystemModelPrivate::QFileSystemNode *r) const

Properties

◆ name

QString QFileSystemModelVisibleFinder::name

Definition at line 1802 of file qfilesystemmodel.cpp.

◆ parentNode

QFileSystemModelPrivate::QFileSystemNode* QFileSystemModelVisibleFinder::parentNode
private

Definition at line 1804 of file qfilesystemmodel.cpp.

◆ sorter

QFileSystemModelSorter* QFileSystemModelVisibleFinder::sorter
private

Definition at line 1805 of file qfilesystemmodel.cpp.


The documentation for this class was generated from the following file: