\section{KList\-Action Class Reference}
\label{classKListAction}\index{KListAction@{KListAction}}
{\bf This class or method is obsolete, it is provided for compatibility only.} Use {\bf KSelect\-Action}{\rm (p.\,\pageref{classKSelectAction})} instead.  


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

Inheritance diagram for KList\-Action:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classKListAction__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KList\-Action:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=111pt]{classKListAction__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf set\-Current\-Item} (int index)
\begin{CompactList}\small\item\em Sets the currently checked item. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  KShortcut \&cut=KShortcut(), {\bf QObject} $\ast${\bf parent}=0, const  char $\ast${\bf name}=0)
\begin{CompactList}\small\item\em Constructs a list action with text and potential keyboard accelerator but nothing else. \item\end{CompactList}\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  KShortcut \&cut, const  {\bf QObject} $\ast$receiver, const  char $\ast$slot, {\bf QObject} $\ast${\bf parent}, const  char $\ast${\bf name}=0)
\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  {\bf QIcon\-Set} \&pix, const  KShortcut \&cut=KShortcut(), {\bf QObject} $\ast${\bf parent}=0, const  char $\ast${\bf name}=0)
\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  {\bf QString} \&pix, const  KShortcut \&cut=KShortcut(), {\bf QObject} $\ast${\bf parent}=0, const  char $\ast${\bf name}=0)
\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  {\bf QIcon\-Set} \&pix, const  KShortcut \&cut, const  {\bf QObject} $\ast$receiver, const  char $\ast$slot, {\bf QObject} $\ast${\bf parent}, const  char $\ast${\bf name}=0)
\item 
{\bf KList\-Action} (const  {\bf QString} \&text, const  {\bf QString} \&pix, const  KShortcut \&cut, const  {\bf QObject} $\ast$receiver, const  char $\ast$slot, {\bf QObject} $\ast${\bf parent}, const  char $\ast${\bf name}=0)
\item 
{\bf KList\-Action} ({\bf QObject} $\ast${\bf parent}=0, const  char $\ast${\bf name}=0)
\item 
virtual {\bf $\sim$KList\-Action} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
virtual {\bf QString} {\bf current\-Text} () const \label{classKListAction_a8}

\item 
virtual int {\bf current\-Item} () const \label{classKListAction_a9}

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

\end{CompactItemize}


\subsection{Detailed Description}
{\bf This class or method is obsolete, it is provided for compatibility only.} Use {\bf KSelect\-Action}{\rm (p.\,\pageref{classKSelectAction})} instead. 



Definition at line 1074 of file kaction.h.

\subsection{Constructor \& Destructor Documentation}
\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const KShortcut \& {\em cut} = KShortcut(), {\bf QObject} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKListAction_a0}


Constructs a list action with text and potential keyboard accelerator but nothing else. 

Use this only if you really know what you are doing.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1914 of file kaction.cpp.

References KStd\-Accel::cut(), and QObject::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const KShortcut \& {\em cut}, const {\bf QObject} $\ast$ {\em receiver}, const char $\ast$ {\em slot}, {\bf QObject} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{classKListAction_a1}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em receiver}]The SLOT's parent. \item[{\em slot}]The SLOT to invoke to execute this action. \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1921 of file kaction.cpp.

References QObject::connect(), KStd\-Accel::cut(), and KStd\-Accel::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const {\bf QIcon\-Set} \& {\em pix}, const KShortcut \& {\em cut} = KShortcut(), {\bf QObject} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKListAction_a2}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em pix}]The icons that go with this action. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1931 of file kaction.cpp.

References KStd\-Accel::cut(), and KStd\-Accel::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const {\bf QString} \& {\em pix}, const KShortcut \& {\em cut} = KShortcut(), {\bf QObject} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKListAction_a3}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em pix}]The dynamically loaded icon that goes with this action. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1939 of file kaction.cpp.

References KStd\-Accel::cut(), and KStd\-Accel::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const {\bf QIcon\-Set} \& {\em pix}, const KShortcut \& {\em cut}, const {\bf QObject} $\ast$ {\em receiver}, const char $\ast$ {\em slot}, {\bf QObject} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{classKListAction_a4}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em pix}]The icons that go with this action. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em receiver}]The SLOT's parent. \item[{\em slot}]The SLOT to invoke to execute this action. \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1947 of file kaction.cpp.

References QObject::connect(), KStd\-Accel::cut(), and KStd\-Accel::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action (const {\bf QString} \& {\em text}, const {\bf QString} \& {\em pix}, const KShortcut \& {\em cut}, const {\bf QObject} $\ast$ {\em receiver}, const char $\ast$ {\em slot}, {\bf QObject} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{classKListAction_a5}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]The text that will be displayed. \item[{\em pix}]The dynamically loaded icon that goes with this action. \item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em receiver}]The SLOT's parent. \item[{\em slot}]The SLOT to invoke to execute this action. \item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1958 of file kaction.cpp.

References QObject::connect(), KStd\-Accel::cut(), and KStd\-Accel::name().\index{KListAction@{KList\-Action}!KListAction@{KListAction}}
\index{KListAction@{KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::KList\-Action ({\bf QObject} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKListAction_a6}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]This action's parent. \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1969 of file kaction.cpp.

References KStd\-Accel::name().\index{KListAction@{KList\-Action}!~KListAction@{$\sim$KListAction}}
\index{~KListAction@{$\sim$KListAction}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-Action::$\sim${\bf KList\-Action} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKListAction_a7}


Destructor. 



Definition at line 1975 of file kaction.cpp.

\subsection{Member Function Documentation}
\index{KListAction@{KList\-Action}!setCurrentItem@{setCurrentItem}}
\index{setCurrentItem@{setCurrentItem}!KListAction@{KList\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-Action::set\-Current\-Item (int {\em index})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListAction_i0}


Sets the currently checked item. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]Index of the item (remember the first item is zero). \end{description}
\end{Desc}


Reimplemented from {\bf KSelect\-Action} {\rm (p.\,\pageref{classKSelectAction_i0})}.

Definition at line 1980 of file kaction.cpp.

References KSelect\-Action::set\-Current\-Item().

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