21 #ifndef FM_PLACESVIEW_H
22 #define FM_PLACESVIEW_H
24 #include "libfmqtglobals.h"
31 class PlacesModelItem;
40 void setCurrentPath(FmPath* path);
41 FmPath* currentPath() {
50 void chdir(FmPath* path) {
55 void chdirRequested(
int type, FmPath* path);
58 void onClicked(
const QModelIndex & index);
59 void onPressed(
const QModelIndex & index);
65 void onUnmountVolume();
67 void onUnmountMount();
69 void onDeleteBookmark();
70 void onRenameBookmark();
73 void drawBranches ( QPainter * painter,
const QRect & rect,
const QModelIndex & index )
const {
77 virtual void dragMoveEvent(QDragMoveEvent* event);
78 virtual void dropEvent(QDropEvent* event);
79 virtual void contextMenuEvent(QContextMenuEvent* event);
81 virtual void commitData(QWidget * editor);
85 void activateRow(
int type,
const QModelIndex& index);
94 #endif // FM_PLACESVIEW_H
Definition: placesmodel.h:38
Definition: appchoosercombobox.cpp:26
Definition: placesmodelitem.h:34
Definition: placesview.h:33