void FrameFocus::start() { findFrames(); switch(arguments().length()) { case 1: focusId(arguments()[0]); break; case 2: focusIndex(arguments()[1].toInt()); break; default: focusParent(); } }
void CSVWorld::RegionMapSubView::editRequest (const CSMWorld::UniversalId& id, const std::string& hint) { focusId (id, hint); }
void CSVTools::ReportSubView::show (const QModelIndex& index) { focusId (mModel->getUniversalId (index.row()), ""); }
void CSVWorld::TableSubView::rowActivated (const QModelIndex& index) { focusId (mTable->getUniversalId (index.row())); }