\hypertarget{class_open_recent_scene_file_command_handler}{}\doxysection{Open\+Recent\+Scene\+File\+Command\+Handler Class Reference}
\label{class_open_recent_scene_file_command_handler}\index{OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}}
Inheritance diagram for Open\+Recent\+Scene\+File\+Command\+Handler\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_open_recent_scene_file_command_handler}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_open_recent_scene_file_command_handler_a3f82bef0598d8cac26ff18fb02f06631}{execute}} () override
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_open_recent_scene_file_command_handler_a581a29c449406911425fd2a4313dcff2}\label{class_open_recent_scene_file_command_handler_a581a29c449406911425fd2a4313dcff2}} 
\index{OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}!OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}}
\index{OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}!OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}}
\doxysubsubsection{\texorpdfstring{OpenRecentSceneFileCommandHandler()}{OpenRecentSceneFileCommandHandler()}}
{\footnotesize\ttfamily Open\+Recent\+Scene\+File\+Command\+Handler\+::\+Open\+Recent\+Scene\+File\+Command\+Handler (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyCode}{0}
\DoxyCodeLine{02928 : \mbox{\hyperlink{class_menu_item_handler}{MenuItemHandler}}(MI\_OpenRecentScene) \{\}}

\end{DoxyCode}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_open_recent_scene_file_command_handler_a3f82bef0598d8cac26ff18fb02f06631}\label{class_open_recent_scene_file_command_handler_a3f82bef0598d8cac26ff18fb02f06631}} 
\index{OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}!execute@{execute}}
\index{execute@{execute}!OpenRecentSceneFileCommandHandler@{OpenRecentSceneFileCommandHandler}}
\doxysubsubsection{\texorpdfstring{execute()}{execute()}}
{\footnotesize\ttfamily void Open\+Recent\+Scene\+File\+Command\+Handler\+::execute (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Implements \mbox{\hyperlink{class_menu_item_handler}{Menu\+Item\+Handler}}.


\begin{DoxyCode}{0}
\DoxyCodeLine{02929                           \{}
\DoxyCodeLine{02930     QAction *act = CommandManager::instance()-\/>getAction(MI\_OpenRecentScene);}
\DoxyCodeLine{02931     \mbox{\hyperlink{class_d_v_menu_action}{DVMenuAction}} *menu = \textcolor{keyword}{dynamic\_cast<}\mbox{\hyperlink{class_d_v_menu_action}{DVMenuAction}} *\textcolor{keyword}{>}(act-\/>menu());}
\DoxyCodeLine{02932     \textcolor{keywordtype}{int} index          = menu-\/>getTriggeredActionIndex();}
\DoxyCodeLine{02933     QString path =}
\DoxyCodeLine{02934         RecentFiles::instance()-\/>getFilePath(index, RecentFiles::Scene);}
\DoxyCodeLine{02935     IoCmd::loadScene(\mbox{\hyperlink{class_t_file_path}{TFilePath}}(path.toStdWString()), \textcolor{keyword}{false});}
\DoxyCodeLine{02936     RecentFiles::instance()-\/>moveFilePath(index, 0, RecentFiles::Scene);}
\DoxyCodeLine{02937   \}}

\end{DoxyCode}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
E\+:/opentoonz/toonz/sources/toonz/iocommand.\+cpp\end{DoxyCompactItemize}
