21 #ifndef FM_DIRTREEVIEW_H 22 #define FM_DIRTREEVIEW_H 24 #include "libfmqtglobals.h" 34 class DirTreeModelItem;
43 FmPath* currentPath() {
47 void setCurrentPath(FmPath* path);
54 void chdir(FmPath* path) {
58 virtual void setModel(QAbstractItemModel* model);
61 virtual void mousePressEvent(QMouseEvent* event);
64 void cancelPendingChdir();
65 void expandPendingPath();
68 void chdirRequested(
int type, FmPath* path);
69 void openFolderInNewWindowRequested(FmPath* path);
70 void openFolderInNewTabRequested(FmPath* path);
71 void openFolderInTerminalRequested(FmPath* path);
72 void createNewFolderRequested(FmPath* path);
76 void onCollapsed(
const QModelIndex & index);
77 void onExpanded(
const QModelIndex & index);
78 void onRowLoaded(
const QModelIndex& index);
79 void onSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
80 void onCustomContextMenuRequested(
const QPoint& pos);
84 void onOpenInTerminal();
89 QList<Path> pathsToExpand_;
95 #endif // FM_DIRTREEVIEW_H Definition: appchoosercombobox.cpp:26
Definition: dirtreeview.h:36
Definition: dirtreemodelitem.h:35