24 #include "libfmqtglobals.h" 48 explicit SidePane(QWidget* parent = 0);
55 void setIconSize(QSize size);
57 FmPath* currentPath() {
61 void setCurrentPath(FmPath* path);
63 void setMode(Mode mode);
73 const char *modeName(Mode mode);
75 Mode modeByName(
const char *str);
77 #if 0 // FIXME: are these APIs from libfm-qt needed? 82 QString modeLabel(Mode mode);
84 QString modeTooltip(Mode mode);
87 void setShowHidden(
bool show_hidden);
93 bool setHomeDir(
const char *home_dir);
100 void chdir(FmPath* path) {
101 setCurrentPath(path);
105 void chdirRequested(
int type, FmPath* path);
106 void openFolderInNewWindowRequested(FmPath* path);
107 void openFolderInNewTabRequested(FmPath* path);
108 void openFolderInTerminalRequested(FmPath* path);
109 void createNewFolderRequested(FmPath* path);
110 void modeChanged(Fm::SidePane::Mode mode);
115 void onPlacesViewChdirRequested(
int type, FmPath* path);
116 void onDirTreeViewChdirRequested(
int type, FmPath* path);
117 void onComboCurrentIndexChanged(
int current);
123 FmPath* currentPath_;
126 QVBoxLayout* verticalLayout;
134 #endif // FM_SIDEPANE_H Definition: appchoosercombobox.cpp:26
Definition: sidepane.h:36