Avogadro::FileTreeItem Class Reference

An item for a Tree model/view of a file or directory. More...

#include <filetreeitem.h>

List of all members.

Public Member Functions

 FileTreeItem (const QList< QVariant > &data, FileTreeItem *parent=0, QString path="")
void appendChild (FileTreeItem *child)
void deleteChildren ()
FileTreeItemchild (int row)
int childCount () const
int columnCount () const
QVariant data (int column) const
int row () const
FileTreeItemparent ()
void setFilePath (QString path)
QString filePath () const


Detailed Description

An item for a Tree model/view of a file or directory.

Author:
Geoffrey Hutchison
This class implements a tree item for a model/view of a directory structure. It is used in multiple places for list or tree views for example in the Insert Fragment dialog.

In particular, the class contains a non-user visible property which stores the full path to the file it represents on disk. Use filePath() or setFilePath() to access this.


The documentation for this class was generated from the following files:
Generated on Sun Jun 14 02:00:42 2009 for Avogadro by  doxygen 1.5.4