void ListPanelActions::setView(int id) { activePanel()->gui->changeType(id); }
void ListPanelActions::activePanelChanged() { _gui.reconnect(activePanel()->gui); _func.reconnect(activePanel()->func); }
inline ListPanelFunc *ListPanelActions::activeFunc() { return activePanel()->func; }
// Indicates that we need to move cursor (e. g. a folder is being renamed and we want to keep the cursor on it) // This method takes the current folder in the currently active panel void CController::setCursorPositionForCurrentFolder(qulonglong newCurrentItemHash) { activePanel().setCurrentItemForFolder(activePanel().currentDirPathNative(), newCurrentItemHash); CPluginEngine::get().currentItemChanged(activePanelPosition(), newCurrentItemHash); }