PCManFM-Qt
Public Types | Public Member Functions | List of all members
Fm::PlacesModelItem Class Reference
Inheritance diagram for Fm::PlacesModelItem:
Fm::PlacesModelBookmarkItem Fm::PlacesModelMountItem Fm::PlacesModelVolumeItem

Public Types

enum  Type { Places = QStandardItem::UserType + 1, Volume, Mount, Bookmark }
 

Public Member Functions

 PlacesModelItem (QIcon icon, QString title, FmPath *path=NULL)
 
 PlacesModelItem (const char *iconName, QString title, FmPath *path=NULL)
 
 PlacesModelItem (FmIcon *icon, QString title, FmPath *path=NULL)
 
FmFileInfo * fileInfo ()
 
void setFileInfo (FmFileInfo *fileInfo)
 
FmPath * path ()
 
void setPath (FmPath *path)
 
FmIcon * icon ()
 
void setIcon (FmIcon *icon)
 
void setIcon (GIcon *gicon)
 
void updateIcon ()
 
QVariant data (int role=Qt::UserRole+1) const
 
virtual int type () const
 

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