\section{KAction\-Selector Class Reference}
\label{classKActionSelector}\index{KActionSelector@{KActionSelector}}
A widget for selecting and arranging actions/objects.  


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

Inheritance diagram for KAction\-Selector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKActionSelector__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KAction\-Selector:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKActionSelector__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Move\-Button} \{ {\bf Button\-Add}, 
{\bf Button\-Remove}, 
{\bf Button\-Up}, 
{\bf Button\-Down}
 \}
\item 
enum {\bf Button\-Icon\-Size} \{ \par
{\bf Small\-Icon}, 
{\bf Small}, 
{\bf Medium}, 
{\bf Large}, 
\par
{\bf XLarge}
 \}
\item 
enum {\bf Insertion\-Policy} \{ {\bf Below\-Current}, 
{\bf Sorted}, 
{\bf At\-Top}, 
{\bf At\-Bottom}
 \}
\end{CompactItemize}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf polish} ()
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf added} ({\bf QList\-Box\-Item} $\ast$item)
\item 
void {\bf removed} ({\bf QList\-Box\-Item} $\ast$item)
\item 
void {\bf moved\-Up} ({\bf QList\-Box\-Item} $\ast$item)
\item 
void {\bf moved\-Down} ({\bf QList\-Box\-Item} $\ast$item)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KAction\-Selector} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)\label{classKActionSelector_a0}

\item 
{\bf QList\-Box} $\ast$ {\bf available\-List\-Box} () const 
\item 
{\bf QList\-Box} $\ast$ {\bf selected\-List\-Box} () const 
\item 
bool {\bf move\-On\-Double\-Click} () const 
\item 
void {\bf set\-Move\-On\-Double\-Click} (bool enable)
\item 
bool {\bf keyboard\-Enabled} () const 
\item 
void {\bf set\-Keyboard\-Enabled} (bool enable)
\item 
{\bf QString} {\bf available\-Label} () const 
\item 
void {\bf set\-Available\-Label} (const {\bf QString} \&text)
\item 
{\bf QString} {\bf selected\-Label} () const 
\item 
void {\bf set\-Selected\-Label} (const {\bf QString} \&text)
\item 
{\bf Button\-Icon\-Size} {\bf button\-Icon\-Size} () const 
\item 
void {\bf set\-Button\-Icon\-Size} ({\bf Button\-Icon\-Size} {\bf size})
\item 
{\bf Insertion\-Policy} {\bf available\-Insertion\-Policy} () const 
\item 
void {\bf set\-Available\-Insertion\-Policy} ({\bf Insertion\-Policy} policy)
\item 
{\bf Insertion\-Policy} {\bf selected\-Insertion\-Policy} () const 
\item 
void {\bf set\-Selected\-Insertion\-Policy} ({\bf Insertion\-Policy} policy)
\item 
bool {\bf show\-Up\-Down\-Buttons} () const 
\item 
void {\bf set\-Show\-Up\-Down\-Buttons} (bool {\bf show})
\item 
void {\bf set\-Button\-Icon} (const {\bf QString} \&{\bf icon}, {\bf Move\-Button} button)
\item 
void {\bf set\-Button\-Icon\-Set} (const {\bf QIcon\-Set} \&iconset, {\bf Move\-Button} button)
\item 
void {\bf set\-Button\-Tooltip} (const {\bf QString} \&tip, {\bf Move\-Button} button)
\item 
void {\bf set\-Button\-Whats\-This} (const {\bf QString} \&text, {\bf Move\-Button} button)
\item 
void {\bf set\-Buttons\-Enabled} ()
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\item 
bool {\bf event\-Filter} ({\bf QObject} $\ast$, {\bf QEvent} $\ast$)
\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
bool {\bf move\-On\-Double\-Click}\label{classKActionSelector_00}

\item 
bool {\bf keyboard\-Enabled}\label{classKActionSelector_01}

\item 
{\bf QString} {\bf available\-Label}\label{classKActionSelector_02}

\item 
{\bf QString} {\bf selected\-Label}\label{classKActionSelector_03}

\item 
{\bf Button\-Icon\-Size} {\bf button\-Icon\-Size}\label{classKActionSelector_04}

\item 
{\bf Insertion\-Policy} {\bf available\-Insertion\-Policy}\label{classKActionSelector_05}

\item 
{\bf Insertion\-Policy} {\bf selected\-Insertion\-Policy}\label{classKActionSelector_06}

\item 
bool {\bf show\-Up\-Down\-Buttons}\label{classKActionSelector_07}

\end{CompactItemize}


\subsection{Detailed Description}
A widget for selecting and arranging actions/objects. 

This widget allows the user to select from a set of objects and arrange the order of the selected ones using two list boxes labeled \char`\"{}Available\char`\"{} and \char`\"{}Used\char`\"{} with horizontal arrows in between to move selected objects between the two, and vertical arrows on the right to arrange the order of the selected objects.

The widget moves objects to the other listbox when doubleclicked if the property move\-On\-Double\-Click is set to true (default). See {\bf move\-On\-Double\-Click()}{\rm (p.\,\pageref{classKActionSelector_a4})} and {\bf set\-Move\-On\-Double\-Click()}{\rm (p.\,\pageref{classKActionSelector_a5})}.

The user control the widget using the keyboard if enabled (default), see keyboard\-Enabled.

Note that this may conflist with keyboard selection in the selected list box, if you set that to anything else than QList\-Box::Single (which is the default).

To use it, simply construct an instance and then add items to the two listboxes, available through lb\-Available() and lb\-Selected(). Whenever you want, you can retrieve the selected options using {\bf QList\-Box} methods on lb\-Selected().

This way, you can use your own {\bf QList\-Box\-Item} class, allowing you to easily store object data in those.

When an item is moved to a listbox, it is placed below the current item of that listbox.

Standard arrow icons are used, but you can use icons of your own choice if desired, see {\bf set\-Button\-Icon()}{\rm (p.\,\pageref{classKActionSelector_a20})}. It is also possible to set tooltips and whatsthis help for the buttons. See {\bf set\-Button\-Tooltip()}{\rm (p.\,\pageref{classKActionSelector_a22})} and {\bf set\-Button\-Whats\-This()}{\rm (p.\,\pageref{classKActionSelector_a23})}.

To set whatsthis or tooltips for the listboxes, access them through available\-Listbox() and {\bf selected\-List\-Box()}{\rm (p.\,\pageref{classKActionSelector_a3})}.

All the moving buttons are automatically set enabled as expected.

Signals are sent each time an item is moved, allowing you to follow the users actions if you need to. See added\-To\-Selection(), removed\-From\-Selection(), {\bf moved\-Up()}{\rm (p.\,\pageref{classKActionSelector_l2})} and {\bf moved\-Down()}{\rm (p.\,\pageref{classKActionSelector_l3})}

\begin{Desc}
\item[Author:]Anders Lund $<${\tt anders@alweb.dk}$>$ \end{Desc}




Definition at line 79 of file kactionselector.h.

\subsection{Member Enumeration Documentation}
\index{KActionSelector@{KAction\-Selector}!MoveButton@{MoveButton}}
\index{MoveButton@{MoveButton}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KAction\-Selector::Move\-Button}}\label{classKActionSelector_w13}


This enum indentifies the moving buttons. 



Definition at line 108 of file kactionselector.h.\index{KActionSelector@{KAction\-Selector}!ButtonIconSize@{ButtonIconSize}}
\index{ButtonIconSize@{ButtonIconSize}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KAction\-Selector::Button\-Icon\-Size}}\label{classKActionSelector_w14}


This enum identifies the icon sizes, used for the move buttons. 

The values correspond to the following pixel sizes: \begin{itemize}
\item Small\-Icon - the return value of Icon\-Size( KIcon::Small ), the user defined size of a small icon in {\bf KDE}. This is the default setting. \item Small - 16px \item Medium - 22px \item Large - 32px \item XLarge - 48px \end{itemize}


Definition at line 125 of file kactionselector.h.\index{KActionSelector@{KAction\-Selector}!InsertionPolicy@{InsertionPolicy}}
\index{InsertionPolicy@{InsertionPolicy}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KAction\-Selector::Insertion\-Policy}}\label{classKActionSelector_w15}


This enum defines policies for where to insert moved items in a listbox. 

The following policies are currently defined: \begin{itemize}
\item Below\-Current - The item is inserted below the listbox' current\-Item() or at the end if there is no curent item. \item Sorted - The listbox is sort()ed after one or more items are inserted. \item At\-Top - The item is inserted at index 0 in the listbox. \item At\-Bottom - The item is inserted at the end of the listbox.\end{itemize}
\begin{Desc}
\item[See also:]{\bf available\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a14})}, {\bf set\-Available\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a15})}, {\bf selected\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a16})}, {\bf set\-Selected\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a17})}. \end{Desc}


Definition at line 145 of file kactionselector.h.

\subsection{Member Function Documentation}
\index{KActionSelector@{KAction\-Selector}!availableListBox@{availableListBox}}
\index{availableListBox@{availableListBox}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QList\-Box} $\ast$ KAction\-Selector::available\-List\-Box () const}\label{classKActionSelector_a2}


\begin{Desc}
\item[Returns:]The {\bf QList\-Box} holding the available actions \end{Desc}


Definition at line 128 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!selectedListBox@{selectedListBox}}
\index{selectedListBox@{selectedListBox}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QList\-Box} $\ast$ KAction\-Selector::selected\-List\-Box () const}\label{classKActionSelector_a3}


\begin{Desc}
\item[Returns:]The {\bf QList\-Box} holding the selected actions \end{Desc}


Definition at line 133 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!moveOnDoubleClick@{moveOnDoubleClick}}
\index{moveOnDoubleClick@{moveOnDoubleClick}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KAction\-Selector::move\-On\-Double\-Click () const}\label{classKActionSelector_a4}


\begin{Desc}
\item[Returns:]Wheather move\-On\-Double\-Clcik is enabled.\end{Desc}
If enabled, an item in any listbox will be moved to the other one whenever doubleclicked. \begin{Desc}
\item[See also:]{\bf set\-Move\-On\-Double\-Click()}{\rm (p.\,\pageref{classKActionSelector_a5})} \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setMoveOnDoubleClick@{setMoveOnDoubleClick}}
\index{setMoveOnDoubleClick@{setMoveOnDoubleClick}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Move\-On\-Double\-Click (bool {\em enable})}\label{classKActionSelector_a5}


Sets move\-On\-Double\-Click to {\tt enable}. 

\begin{Desc}
\item[See also:]{\bf move\-On\-Double\-Click()}{\rm (p.\,\pageref{classKActionSelector_a4})} \end{Desc}


Definition at line 244 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!keyboardEnabled@{keyboardEnabled}}
\index{keyboardEnabled@{keyboardEnabled}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KAction\-Selector::keyboard\-Enabled () const}\label{classKActionSelector_a6}


\begin{Desc}
\item[Returns:]Weather keyboard control is enabled.\end{Desc}
When Keyboard control is enabled, the widget will react to the following keyboard actions: \begin{itemize}
\item CTRL + Right - simulate clicking the add button \item CTRL + Left - simulate clicking the remove button \item CTRL + Up - simulate clicking the up button \item CTRL + Down - simulate clicking the down button\end{itemize}
Additionally, pressing RETURN or ENTER on one of the list boxes will cause the current item of that listbox to be moved to the other listbox.

The keyboard actions are enabled by default.

\begin{Desc}
\item[See also:]{\bf set\-Keyboard\-Enabled()}{\rm (p.\,\pageref{classKActionSelector_a7})} \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setKeyboardEnabled@{setKeyboardEnabled}}
\index{setKeyboardEnabled@{setKeyboardEnabled}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Keyboard\-Enabled (bool {\em enable})}\label{classKActionSelector_a7}


Sets the keyboard enabled depending on {\tt enable}. 

\begin{Desc}
\item[See also:]{\bf keyboard\-Enabled()}{\rm (p.\,\pageref{classKActionSelector_a6})} \end{Desc}


Definition at line 254 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!availableLabel@{availableLabel}}
\index{availableLabel@{availableLabel}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KAction\-Selector::available\-Label () const}\label{classKActionSelector_a8}


\begin{Desc}
\item[Returns:]The text of the label for the available items listbox. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setAvailableLabel@{setAvailableLabel}}
\index{setAvailableLabel@{setAvailableLabel}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Available\-Label (const {\bf QString} \& {\em text})}\label{classKActionSelector_a9}


Sets the label for the available items listbox to {\tt text}. 

Note that this label has the listbox as its {\em buddy\/}, so that if you have a single ampersand in the text, the following character will become the accellerator to focus te listbox. 

Definition at line 264 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!selectedLabel@{selectedLabel}}
\index{selectedLabel@{selectedLabel}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KAction\-Selector::selected\-Label () const}\label{classKActionSelector_a10}


\begin{Desc}
\item[Returns:]the label of the selected items listbox. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setSelectedLabel@{setSelectedLabel}}
\index{setSelectedLabel@{setSelectedLabel}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Selected\-Label (const {\bf QString} \& {\em text})}\label{classKActionSelector_a11}


Sets the label for the selected items listbox to {\tt text}. 

Note that this label has the listbox as its {\em buddy\/}, so that if you have a single ampersand in the text, the following character will become the accellerator to focus te listbox. 

Definition at line 274 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!buttonIconSize@{buttonIconSize}}
\index{buttonIconSize@{buttonIconSize}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Button\-Icon\-Size} KAction\-Selector::button\-Icon\-Size () const}\label{classKActionSelector_a12}


\begin{Desc}
\item[Returns:]the current Button\-Icon\-Size. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setButtonIconSize@{setButtonIconSize}}
\index{setButtonIconSize@{setButtonIconSize}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Button\-Icon\-Size ({\bf Button\-Icon\-Size} {\em size})}\label{classKActionSelector_a13}


Sets the button icon size. 

See Button\-Icon\-Size for the possible values and their pixel meaning. 

Definition at line 284 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!availableInsertionPolicy@{availableInsertionPolicy}}
\index{availableInsertionPolicy@{availableInsertionPolicy}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Insertion\-Policy} KAction\-Selector::available\-Insertion\-Policy () const}\label{classKActionSelector_a14}


\begin{Desc}
\item[Returns:]The current insertion policy for the available listbox. The default policy for the available listbox is Sorted. See also Insertion\-Policy, {\bf set\-Available\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a15})}. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setAvailableInsertionPolicy@{setAvailableInsertionPolicy}}
\index{setAvailableInsertionPolicy@{setAvailableInsertionPolicy}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Available\-Insertion\-Policy ({\bf Insertion\-Policy} {\em policy})}\label{classKActionSelector_a15}


Sets the insertion policy for the available listbox. 

See also Insertion\-Policy, {\bf available\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a14})}. 

Definition at line 296 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!selectedInsertionPolicy@{selectedInsertionPolicy}}
\index{selectedInsertionPolicy@{selectedInsertionPolicy}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Insertion\-Policy} KAction\-Selector::selected\-Insertion\-Policy () const}\label{classKActionSelector_a16}


\begin{Desc}
\item[Returns:]The current insertion policy for the selected listbox. The default policy for the selected listbox is Below\-Current. See also Insertion\-Policy, {\bf set\-Selected\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a17})}. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setSelectedInsertionPolicy@{setSelectedInsertionPolicy}}
\index{setSelectedInsertionPolicy@{setSelectedInsertionPolicy}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Selected\-Insertion\-Policy ({\bf Insertion\-Policy} {\em policy})}\label{classKActionSelector_a17}


Sets the insertion policy for the selected listbox. 

See also Insertion\-Policy, {\bf selected\-Insertion\-Policy()}{\rm (p.\,\pageref{classKActionSelector_a16})}. 

Definition at line 306 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!showUpDownButtons@{showUpDownButtons}}
\index{showUpDownButtons@{showUpDownButtons}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KAction\-Selector::show\-Up\-Down\-Buttons () const}\label{classKActionSelector_a18}


\begin{Desc}
\item[Returns:]wheather the Up and Down buttons should be displayed. \end{Desc}
\index{KActionSelector@{KAction\-Selector}!setShowUpDownButtons@{setShowUpDownButtons}}
\index{setShowUpDownButtons@{setShowUpDownButtons}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Show\-Up\-Down\-Buttons (bool {\em show})}\label{classKActionSelector_a19}


Sets wheather the Up and Down buttons should be displayed according to {\tt show}. 



Definition at line 316 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!setButtonIcon@{setButtonIcon}}
\index{setButtonIcon@{setButtonIcon}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Button\-Icon (const {\bf QString} \& {\em icon}, {\bf Move\-Button} {\em button})}\label{classKActionSelector_a20}


Sets the pixmap of the button {\tt button} to {\tt icon}. 

It calls Small\-Icon\-Set(pm) to generate the icon set. 

Definition at line 138 of file kactionselector.cpp.

References endl(), and kd\-Debug().\index{KActionSelector@{KAction\-Selector}!setButtonIconSet@{setButtonIconSet}}
\index{setButtonIconSet@{setButtonIconSet}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Button\-Icon\-Set (const {\bf QIcon\-Set} \& {\em iconset}, {\bf Move\-Button} {\em button})}\label{classKActionSelector_a21}


Sets the iconset for button {\tt button} to {\tt iconset}. 

You can use this method to et a costum icon set. Either created by {\bf QIcon\-Set}, or use the application instance of {\bf KIcon\-Loader} (recommended). 

Definition at line 163 of file kactionselector.cpp.

References endl(), and kd\-Debug().\index{KActionSelector@{KAction\-Selector}!setButtonTooltip@{setButtonTooltip}}
\index{setButtonTooltip@{setButtonTooltip}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Button\-Tooltip (const {\bf QString} \& {\em tip}, {\bf Move\-Button} {\em button})}\label{classKActionSelector_a22}


Sets the tooltip for the button {\tt button} to {\tt tip}. 



Definition at line 184 of file kactionselector.cpp.

References endl(), and kd\-Debug().\index{KActionSelector@{KAction\-Selector}!setButtonWhatsThis@{setButtonWhatsThis}}
\index{setButtonWhatsThis@{setButtonWhatsThis}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Button\-Whats\-This (const {\bf QString} \& {\em text}, {\bf Move\-Button} {\em button})}\label{classKActionSelector_a23}


Sets the whatsthis help for button {\tt button} to {\tt text}. 



Definition at line 205 of file kactionselector.cpp.

References QWhats\-This::add(), endl(), and kd\-Debug().\index{KActionSelector@{KAction\-Selector}!setButtonsEnabled@{setButtonsEnabled}}
\index{setButtonsEnabled@{setButtonsEnabled}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::set\-Buttons\-Enabled ()}\label{classKActionSelector_a24}


Sets the enabled state of all moving buttons to reflect the current options. 

Be sure to call this if you add or removes items to either listbox after the widget is {\bf show()}n 

Definition at line 226 of file kactionselector.cpp.

Referenced by polish().\index{KActionSelector@{KAction\-Selector}!added@{added}}
\index{added@{added}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::added ({\bf QList\-Box\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKActionSelector_l0}


Emitted when an item is moved to the \char`\"{}selected\char`\"{} listbox. 

\index{KActionSelector@{KAction\-Selector}!removed@{removed}}
\index{removed@{removed}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::removed ({\bf QList\-Box\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKActionSelector_l1}


Emitted when an item is moved out of the \char`\"{}selected\char`\"{} listbox. 

\index{KActionSelector@{KAction\-Selector}!movedUp@{movedUp}}
\index{movedUp@{movedUp}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::moved\-Up ({\bf QList\-Box\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKActionSelector_l2}


Emitted when an item is moved upwards in the \char`\"{}selected\char`\"{} listbox. 

\index{KActionSelector@{KAction\-Selector}!movedDown@{movedDown}}
\index{movedDown@{movedDown}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::moved\-Down ({\bf QList\-Box\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKActionSelector_l3}


Emitted when an item is moved downwards in the \char`\"{}selected\char`\"{} listbox. 

\index{KActionSelector@{KAction\-Selector}!polish@{polish}}
\index{polish@{polish}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::polish ()\hspace{0.3cm}{\tt  [slot]}}\label{classKActionSelector_i0}


Reimplemented for internal reasons. 

(calls {\bf set\-Buttons\-Enabled()}{\rm (p.\,\pageref{classKActionSelector_a24})}) 

Reimplemented from {\bf QWidget}.

Definition at line 335 of file kactionselector.cpp.

References set\-Buttons\-Enabled().\index{KActionSelector@{KAction\-Selector}!keyPressEvent@{keyPressEvent}}
\index{keyPressEvent@{keyPressEvent}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAction\-Selector::key\-Press\-Event ({\bf QKey\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected]}}\label{classKActionSelector_b0}


Reimplamented for internal reasons. 



Reimplemented from {\bf QWidget}.

Definition at line 343 of file kactionselector.cpp.\index{KActionSelector@{KAction\-Selector}!eventFilter@{eventFilter}}
\index{eventFilter@{eventFilter}!KActionSelector@{KAction\-Selector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KAction\-Selector::event\-Filter ({\bf QObject} $\ast$, {\bf QEvent} $\ast$)\hspace{0.3cm}{\tt  [protected]}}\label{classKActionSelector_b1}


Reimplemented for internal reasons. 



Definition at line 369 of file kactionselector.cpp.

References QList\-Box::current\-Item(), and QList\-Box::item().

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