21 #ifndef FM_DIRTREEVIEW_H
22 #define FM_DIRTREEVIEW_H
24 #include "libfmqtglobals.h"
33 class DirTreeModelItem;
42 FmPath* currentPath() {
46 void setCurrentPath(FmPath* path);
53 void chdir(FmPath* path) {
57 virtual void setModel(QAbstractItemModel* model);
60 virtual void contextMenuEvent(QContextMenuEvent* event);
63 void cancelPendingChdir();
64 void expandPendingPath();
67 void chdirRequested(
int type, FmPath* path);
70 void onCollapsed(
const QModelIndex & index);
71 void onExpanded(
const QModelIndex & index);
72 void onRowLoaded(
const QModelIndex& index);
73 void onSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
77 QList<Path> pathsToExpand_;
83 #endif // FM_DIRTREEVIEW_H
Definition: appchoosercombobox.cpp:26
Definition: dirtreeview.h:35
Definition: dirtreemodelitem.h:35