\section{KStd\-Accel::Shortcut\-List Class Reference}
\label{classKStdAccel_1_1ShortcutList}\index{KStdAccel::ShortcutList@{KStdAccel::ShortcutList}}
{\bf KShortcut\-List}{\rm (p.\,\pageref{classKShortcutList})} implementation that accesses {\bf KStd\-Accel}{\rm (p.\,\pageref{namespaceKStdAccel})} actions.  


{\tt \#include $<$kshortcutlist.h$>$}

Inheritance diagram for KStd\-Accel::Shortcut\-List:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=78pt]{classKStdAccel_1_1ShortcutList__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KStd\-Accel::Shortcut\-List:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=78pt]{classKStdAccel_1_1ShortcutList__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Shortcut\-List} ()
\item 
virtual uint {\bf count} () const 
\item 
virtual {\bf QString} {\bf name} (uint index) const 
\item 
virtual {\bf QString} {\bf label} (uint index) const 
\item 
virtual {\bf QString} {\bf whats\-This} (uint index) const 
\item 
virtual const {\bf KShortcut} \& {\bf shortcut} (uint index) const 
\item 
virtual const {\bf KShortcut} \& {\bf shortcut\-Default} (uint index) const 
\item 
virtual bool {\bf is\-Configurable} (uint index) const 
\item 
virtual bool {\bf set\-Shortcut} (uint index, const {\bf KShortcut} \&shortcut)
\item 
virtual {\bf QVariant} {\bf get\-Other} (Other, uint index) const \label{classKStdAccel_1_1ShortcutList_a10}

\item 
virtual bool {\bf set\-Other} (Other, uint index, {\bf QVariant})\label{classKStdAccel_1_1ShortcutList_a11}

\item 
virtual bool {\bf save} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)
\end{CompactItemize}


\subsection{Detailed Description}
{\bf KShortcut\-List}{\rm (p.\,\pageref{classKShortcutList})} implementation that accesses {\bf KStd\-Accel}{\rm (p.\,\pageref{namespaceKStdAccel})} actions. 



Definition at line 261 of file kshortcutlist.h.

\subsection{Constructor \& Destructor Documentation}
\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!ShortcutList@{ShortcutList}}
\index{ShortcutList@{ShortcutList}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KStd\-Accel::Shortcut\-List::Shortcut\-List ()}\label{classKStdAccel_1_1ShortcutList_a0}


Creates a new {\bf Shortcut\-List}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList})}. 



Definition at line 315 of file kstdaccel.cpp.

\subsection{Member Function Documentation}
\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!count@{count}}
\index{count@{count}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}uint KStd\-Accel::Shortcut\-List::count () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a2}


Returns the number of entries. 

\begin{Desc}
\item[Returns:]the number of entries\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a2})}.

Definition at line 321 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!name@{name}}
\index{name@{name}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KStd\-Accel::Shortcut\-List::name (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a3}


Returns the name of the shortcut with the given {\tt index}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the name of the shortcut\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a3})}.

Definition at line 331 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!label@{label}}
\index{label@{label}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KStd\-Accel::Shortcut\-List::label (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a4}


Returns the (i18n'd) label of the shortcut with the given {\tt index}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the label (i18n'd) of the shortcut\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a4})}.

Definition at line 334 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!whatsThis@{whatsThis}}
\index{whatsThis@{whatsThis}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KStd\-Accel::Shortcut\-List::whats\-This (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a5}


Returns the (i18n'd) What's This text of the shortcut with the given {\tt index}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the What's This text (i18n'd) of the shortcut\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a5})}.

Definition at line 337 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!shortcut@{shortcut}}
\index{shortcut@{shortcut}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KShortcut} \& KStd\-Accel::Shortcut\-List::shortcut (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a6}


Returns the shortcut with the given {\tt index}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the shortcut \end{Desc}
\begin{Desc}
\item[See also:]{\bf shortcut\-Default()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a7})}\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a6})}.

Definition at line 340 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!shortcutDefault@{shortcutDefault}}
\index{shortcutDefault@{shortcutDefault}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KShortcut} \& KStd\-Accel::Shortcut\-List::shortcut\-Default (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a7}


Returns default shortcut with the given {\tt index}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the default shortcut \end{Desc}
\begin{Desc}
\item[See also:]{\bf shortcut()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a6})}\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a7})}.

Definition at line 347 of file kstdaccel.cpp.

References KStd\-Accel::shortcut\-Default().\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!isConfigurable@{isConfigurable}}
\index{isConfigurable@{isConfigurable}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStd\-Accel::Shortcut\-List::is\-Configurable (uint {\em index}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a8}


Checks whether the shortcut with the given {\tt index} is configurable. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if configurable, false otherwise\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a8})}.

Definition at line 354 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!setShortcut@{setShortcut}}
\index{setShortcut@{setShortcut}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStd\-Accel::Shortcut\-List::set\-Shortcut (uint {\em index}, const {\bf KShortcut} \& {\em shortcut})\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a9}


Sets the shortcut of the given entry. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]the index of the shortcut (must be $<$ {\bf count()}{\rm (p.\,\pageref{classKStdAccel_1_1ShortcutList_a2})}) \item[{\em shortcut}]the shortcut\end{description}
\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a9})}.

Definition at line 357 of file kstdaccel.cpp.\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!save@{save}}
\index{save@{save}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStd\-Accel::Shortcut\-List::save () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKStdAccel_1_1ShortcutList_a12}


Save the shortcut list. 

\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Implements {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_a16})}.

Definition at line 366 of file kstdaccel.cpp.

References KShortcut\-List::write\-Settings().\index{KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}!virtual_hook@{virtual\_\-hook}}
\index{virtual_hook@{virtual\_\-hook}!KStdAccel::ShortcutList@{KStd\-Accel::Shortcut\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStd\-Accel::Shortcut\-List::virtual\_\-hook (int {\em id}, void $\ast$ {\em data})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKStdAccel_1_1ShortcutList_b0}


used to extend the interface with virtuals without breaking binary compatibility 



Reimplemented from {\bf KShortcut\-List} {\rm (p.\,\pageref{classKShortcutList_b0})}.

Definition at line 218 of file kshortcutlist.cpp.

References KShortcut\-List::virtual\_\-hook().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kshortcutlist.h\item 
kshortcutlist.cpp\item 
kstdaccel.cpp\end{CompactItemize}
