PCManFM-Qt
Public Types | Signals | Public Member Functions | Friends | List of all members
Fm::DirTreeModel Class Reference
Inheritance diagram for Fm::DirTreeModel:

Public Types

enum  Role { FileInfoRole = Qt::UserRole }
 

Signals

void rowLoaded (const QModelIndex &index)
 

Public Member Functions

 DirTreeModel (QObject *parent)
 
QModelIndex addRoot (FmFileInfo *root)
 
void loadRow (const QModelIndex &index)
 
void unloadRow (const QModelIndex &index)
 
bool isLoaded (const QModelIndex &index)
 
QIcon icon (const QModelIndex &index)
 
FmFileInfo * fileInfo (const QModelIndex &index)
 
FmPath * filePath (const QModelIndex &index)
 
QString dispName (const QModelIndex &index)
 
void setShowHidden (bool show_hidden)
 
bool showHidden () const
 
QModelIndex indexFromPath (FmPath *path) const
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QVariant data (const QModelIndex &index, int role) const
 
virtual int columnCount (const QModelIndex &parent) const
 
virtual int rowCount (const QModelIndex &parent) const
 
virtual QModelIndex parent (const QModelIndex &child) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent) const
 
virtual bool hasChildren (const QModelIndex &parent=QModelIndex()) const
 

Friends

class DirTreeModelItem
 
class DirTreeView
 

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