TreePath Class Reference

Path in a tree of QAbstractItemModel objects. More...

Inheritance diagram for TreePath:

Detailed Description

Path in a tree of QAbstractItemModel objects.

Represents a path in a tree made with TreeNode. This allows sending path in commands and over the network.

TODO : it should be feasible to add the caching of a QModelIndex or something like this here.

Public Member Functions

 TreePath (const impl_type &other)
 
 TreePath (QModelIndex index)
 
template<typename T >
 TreePath (const T &node)
 
void prepend (int val)
 
template<typename T >
const T * toNode (const T *iter) const
 
template<typename T >
T * toNode (T *iter) const
 

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