\section{KList\-View Class Reference}
\label{classKListView}\index{KListView@{KListView}}
This Widget extends the functionality of {\bf QList\-View} to honor the system wide settings for Single Click/Double Click mode, Auto\-Selection and Change\-Cursor\-Over\-Link (TM).  


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

Inheritance diagram for KList\-View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=159pt]{classKListView__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KList\-View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=50pt]{classKListView__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Selection\-Mode\-Ext} \{ \par
{\bf Single} =  QList\-View::Single, 
{\bf Multi} =  QList\-View::Multi, 
{\bf Extended} =  QList\-View::Extended, 
{\bf No\-Selection} =  QList\-View::No\-Selection, 
\par
{\bf File\-Manager}
 \}
\begin{CompactList}\small\item\em Possible selection modes. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf rename} ({\bf QList\-View\-Item} $\ast$item, int c)
\begin{CompactList}\small\item\em Rename column {\tt c} of {\tt item}. \item\end{CompactList}\item 
void {\bf set\-Renameable} (int column, bool yesno=true)
\begin{CompactList}\small\item\em By default, if you called set\-Items\-Renameable(true), only the first column is renameable. \item\end{CompactList}\item 
virtual void {\bf set\-Items\-Movable} (bool b)
\begin{CompactList}\small\item\em Set whether items in the list view can be moved. \item\end{CompactList}\item 
virtual void {\bf set\-Items\-Renameable} (bool b)
\begin{CompactList}\small\item\em Enables inplace-renaming of items. \item\end{CompactList}\item 
virtual void {\bf set\-Drag\-Enabled} (bool b)
\begin{CompactList}\small\item\em Enable/Disable the dragging of items. \item\end{CompactList}\item 
virtual void {\bf set\-Auto\-Open} (bool b)
\begin{CompactList}\small\item\em Enable/Disable Auto\-Open (not implemented currently). \item\end{CompactList}\item 
virtual void {\bf set\-Drop\-Visualizer} (bool b)
\begin{CompactList}\small\item\em Enable/Disable the drawing of a drop-visualizer (a bar that shows where a dropped item would be inserted). \item\end{CompactList}\item 
void {\bf set\-Drop\-Visualizer\-Width} (int w)
\begin{CompactList}\small\item\em Set the width of the (default) drop-visualizer. \item\end{CompactList}\item 
virtual void {\bf set\-Tooltip\-Column} (int column)
\begin{CompactList}\small\item\em Set which column should be used for automatic tooltips. \item\end{CompactList}\item 
virtual void {\bf set\-Drop\-Highlighter} (bool b)
\begin{CompactList}\small\item\em Enable/Disable the drawing of a drop-highlighter (a rectangle around the item under the mouse cursor). \item\end{CompactList}\item 
virtual void {\bf set\-Create\-Children} (bool b)
\begin{CompactList}\small\item\em For future expansions. \item\end{CompactList}\item 
void {\bf set\-Selection\-Mode\-Ext} ({\bf Selection\-Mode\-Ext} mode)
\begin{CompactList}\small\item\em Set the selection mode. \item\end{CompactList}\item 
void {\bf set\-Tab\-Ordered\-Renaming} (bool b)
\begin{CompactList}\small\item\em Enable/disable tabbing between editable cells \begin{Desc}
\item[Since:]3.1. \end{Desc}
\item\end{CompactList}\item 
bool {\bf tab\-Ordered\-Renaming} () const 
\begin{CompactList}\small\item\em Returns whether tab ordered renaming is enabled \begin{Desc}
\item[Since:]3.1. \end{Desc}
\item\end{CompactList}\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf executed} ({\bf QList\-View\-Item} $\ast$item)
\begin{CompactList}\small\item\em This signal is emitted whenever the user executes an listview item. \item\end{CompactList}\item 
void {\bf executed} ({\bf QList\-View\-Item} $\ast$item, const  {\bf QPoint} \&pos, int c)
\begin{CompactList}\small\item\em This signal is emitted whenever the user executes an listview item. \item\end{CompactList}\item 
void {\bf double\-Clicked} ({\bf QList\-View\-Item} $\ast$item, const  {\bf QPoint} \&pos, int c)
\begin{CompactList}\small\item\em This signal gets emitted whenever the user double clicks into the listview. \item\end{CompactList}\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em This signal gets emitted whenever something acceptable is dropped onto the listview. \item\end{CompactList}\item 
void {\bf dropped} ({\bf KList\-View} $\ast$list, {\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em This signal gets emitted whenever something acceptable is dropped onto the listview. \item\end{CompactList}\item 
void {\bf dropped} ({\bf KList\-View} $\ast$list, {\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em This signal gets emitted whenever something acceptable is dropped onto the listview. \item\end{CompactList}\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em This signal gets emitted whenever something acceptable is dropped onto the listview. \item\end{CompactList}\item 
void {\bf moved} ()
\begin{CompactList}\small\item\em This signal is emitted when ever the user moves an item in the list via Dn\-D. \item\end{CompactList}\item 
void {\bf about\-To\-Move} ()
\begin{CompactList}\small\item\em Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting. \item\end{CompactList}\item 
void {\bf moved} ({\bf QList\-View\-Item} $\ast$item, {\bf QList\-View\-Item} $\ast$after\-First, {\bf QList\-View\-Item} $\ast$after\-Now)
\begin{CompactList}\small\item\em This signal is emitted when ever the user moves an item in the list via Dn\-D. \item\end{CompactList}\item 
void {\bf moved} ({\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \&items, {\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \&after\-First, {\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \&after\-Now)
\begin{CompactList}\small\item\em This signal is emitted after all the items have been moved. \item\end{CompactList}\item 
void {\bf item\-Renamed} ({\bf QList\-View\-Item} $\ast$item, const  {\bf QString} \&str, int col)
\begin{CompactList}\small\item\em This signal gets emitted when an item is renamed via in-place renaming. \item\end{CompactList}\item 
void {\bf item\-Renamed} ({\bf QList\-View\-Item} $\ast$item)
\begin{CompactList}\small\item\em Same as above, but without the extra information. \item\end{CompactList}\item 
void {\bf menu\-Short\-Cut\-Pressed} ({\bf KList\-View} $\ast$list, {\bf QList\-View\-Item} $\ast$item)
\begin{CompactList}\small\item\em This signal is emitted when the shortcut key for popup-menus is pressed. \item\end{CompactList}\item 
void {\bf context\-Menu} ({\bf KList\-View} $\ast$l, {\bf QList\-View\-Item} $\ast$i, const  {\bf QPoint} \&p)
\begin{CompactList}\small\item\em This signal is emitted whenever a context-menu should be shown for item {\tt i}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KList\-View} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$KList\-View} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
virtual void {\bf set\-Accept\-Drops} (bool)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual bool {\bf is\-Execute\-Area} (const  {\bf QPoint} \&point)
\begin{CompactList}\small\item\em This function determines whether the given coordinates are within the execute area. \item\end{CompactList}\item 
bool {\bf is\-Execute\-Area} (int x)
\begin{CompactList}\small\item\em Same thing, but from an x coordinate only. \item\end{CompactList}\item 
{\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ {\bf selected\-Items} () const 
\item 
void {\bf move\-Item} ({\bf QList\-View\-Item} $\ast$item, {\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em Arbitrarily move {\tt item} to {\tt parent}, positioned immediately after item {\tt after}. \item\end{CompactList}\item 
{\bf QList\-View\-Item} $\ast$ {\bf last\-Item} () const 
\item 
{\bf QList\-View\-Item} $\ast$ {\bf last\-Child} () const 
\item 
{\bf KLine\-Edit} $\ast$ {\bf rename\-Line\-Edit} () const 
\item 
bool {\bf items\-Movable} () const 
\item 
bool {\bf items\-Renameable} () const 
\item 
bool {\bf drag\-Enabled} () const 
\item 
bool {\bf auto\-Open} () const 
\item 
bool {\bf is\-Renameable} (int column) const 
\item 
bool {\bf drop\-Visualizer} () const 
\item 
int {\bf tooltip\-Column} () const 
\item 
bool {\bf create\-Children} () const 
\begin{CompactList}\small\item\em For future expansions. \item\end{CompactList}\item 
bool {\bf drop\-Highlighter} () const 
\item 
int {\bf drop\-Visualizer\-Width} () const 
\begin{CompactList}\small\item\em The drop\-Visualizer\-Width defaults to 4. \item\end{CompactList}\item 
{\bf Selection\-Mode\-Ext} {\bf selection\-Mode\-Ext} () const 
\item 
int {\bf item\-Index} (const  {\bf QList\-View\-Item} $\ast$item) const 
\begin{CompactList}\small\item\em Returns the index of {\tt item} within the item tree or -1 if {\tt item} doesn't exist in this list view. \item\end{CompactList}\item 
{\bf QList\-View\-Item} $\ast$ {\bf item\-At\-Index} (int index)
\begin{CompactList}\small\item\em Returns the item of {\tt index} within the item tree or 0 if {\tt index} doesn't exist in this list view. \item\end{CompactList}\item 
void {\bf set\-Full\-Width} ()
\begin{CompactList}\small\item\em {\bf This class or method is obsolete, it is provided for compatibility only.} \item\end{CompactList}\item 
void {\bf set\-Full\-Width} (bool full\-Width)
\begin{CompactList}\small\item\em Let the last column fit exactly all the available width. \item\end{CompactList}\item 
bool {\bf full\-Width} () const 
\begin{CompactList}\small\item\em Returns whether the last column is set to fit the available width. \item\end{CompactList}\item 
virtual int {\bf add\-Column} (const  {\bf QString} \&label, int width=-1)
\begin{CompactList}\small\item\em Reimplemented for full width support. \item\end{CompactList}\item 
virtual int {\bf add\-Column} (const  {\bf QIcon\-Set} \&iconset, const  {\bf QString} \&label, int width=-1)
\begin{CompactList}\small\item\em Reimplemented for full width support. \item\end{CompactList}\item 
virtual void {\bf remove\-Column} (int index)
\begin{CompactList}\small\item\em Reimplemented for full width support. \item\end{CompactList}\item 
void {\bf set\-Alternate\-Background} (const  {\bf QColor} \&c)
\begin{CompactList}\small\item\em sets the alternate background background color. \item\end{CompactList}\item 
const  {\bf QColor} \& {\bf alternate\-Background} () const 
\item 
void {\bf save\-Layout} ({\bf KConfig} $\ast$config, const  {\bf QString} \&group) const 
\begin{CompactList}\small\item\em Saves the list view's layout (column widtsh, column order, sort column) to a {\bf KConfig} group. \item\end{CompactList}\item 
void {\bf restore\-Layout} ({\bf KConfig} $\ast$config, const  {\bf QString} \&group)
\begin{CompactList}\small\item\em Reads the list view's layout from a {\bf KConfig} group as stored with {\bf save\-Layout}{\rm (p.\,\pageref{classKListView_a31})}. \item\end{CompactList}\item 
virtual void {\bf set\-Sorting} (int column, bool ascending=true)
\begin{CompactList}\small\item\em Reimplemented to remember the current sort column and order. \item\end{CompactList}\item 
int {\bf column\-Sorted} (void) const 
\item 
bool {\bf ascending\-Sort} (void) const 
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Settings\-Changed} (int)
\begin{CompactList}\small\item\em Update internal settings whenever the global ones change. \item\end{CompactList}\item 
void {\bf slot\-Mouse\-Button\-Clicked} (int btn, {\bf QList\-View\-Item} $\ast$item, const  {\bf QPoint} \&pos, int c)\label{classKListView_j1}

\item 
void {\bf done\-Editing} ({\bf QList\-View\-Item} $\ast$item, int row)\label{classKListView_j2}

\item 
void {\bf clean\-Drop\-Visualizer} ()
\begin{CompactList}\small\item\em Repaint the rect where I was drawing the drop line. \item\end{CompactList}\item 
void {\bf clean\-Item\-Highlighter} ()
\begin{CompactList}\small\item\em Repaint the rect where I was drawing the drop rectangle. \item\end{CompactList}\item 
void {\bf emit\-Context\-Menu} ({\bf QList\-View\-Item} $\ast$, const  {\bf QPoint} \&, int)
\begin{CompactList}\small\item\em Emit the {\bf context\-Menu}{\rm (p.\,\pageref{classKListView_l14})} signal. \item\end{CompactList}\item 
void {\bf emit\-Context\-Menu} ({\bf KList\-View} $\ast$, {\bf QList\-View\-Item} $\ast$)
\begin{CompactList}\small\item\em Emit the {\bf context\-Menu}{\rm (p.\,\pageref{classKListView_l14})} signal. \item\end{CompactList}\item 
void {\bf slot\-On\-Item} ({\bf QList\-View\-Item} $\ast$item)
\begin{CompactList}\small\item\em Accessory slot for Auto\-Select. \item\end{CompactList}\item 
void {\bf slot\-On\-Viewport} ()
\begin{CompactList}\small\item\em Accessory slot for Auto\-Select/Change\-Cursor\-Over\-Item. \item\end{CompactList}\item 
void {\bf slot\-Auto\-Select} ()
\begin{CompactList}\small\item\em Process Auto\-Selection. \item\end{CompactList}\item 
void {\bf slot\-Header\-Changed} ()
\begin{CompactList}\small\item\em Reacts to header changes in full width mode. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
bool {\bf below} (const  {\bf QRect} \&rect, const  {\bf QPoint} \&p)
\begin{CompactList}\small\item\em Determine whether a drop on position {\tt p} would count as being above or below the {\bf QRect} {\tt rect}. \item\end{CompactList}\item 
bool {\bf below} ({\bf QList\-View\-Item} $\ast$i, const  {\bf QPoint} \&p)
\begin{CompactList}\small\item\em An overloaded version of {\bf below(const QRect\&, const QPoint\&)}{\rm (p.\,\pageref{classKListView_b0})}. \item\end{CompactList}\item 
virtual bool {\bf event} ({\bf QEvent} $\ast$)
\begin{CompactList}\small\item\em Reimplemented to reload the alternate background in palette changes. \item\end{CompactList}\item 
void {\bf emit\-Execute} ({\bf QList\-View\-Item} $\ast$item, const  {\bf QPoint} \&pos, int c)
\begin{CompactList}\small\item\em Emit signal {\bf executed}{\rm (p.\,\pageref{classKListView_l0})}. \item\end{CompactList}\item 
virtual void {\bf focus\-In\-Event} ({\bf QFocus\-Event} $\ast$fe)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf focus\-Out\-Event} ({\bf QFocus\-Event} $\ast$fe)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf leave\-Event} ({\bf QEvent} $\ast$e)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual {\bf QString} {\bf tooltip} ({\bf QList\-View\-Item} $\ast$item, int column) const 
\item 
virtual bool {\bf show\-Tooltip} ({\bf QList\-View\-Item} $\ast$item, const  {\bf QPoint} \&pos, int column) const 
\item 
virtual void {\bf contents\-Drag\-Move\-Event} ({\bf QDrag\-Move\-Event} $\ast$event)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Mouse\-Press\-Event} ({\bf QMouse\-Event} $\ast$e)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Mouse\-Move\-Event} ({\bf QMouse\-Event} $\ast$e)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Mouse\-Double\-Click\-Event} ({\bf QMouse\-Event} $\ast$e)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Drag\-Leave\-Event} ({\bf QDrag\-Leave\-Event} $\ast$event)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Mouse\-Release\-Event} ({\bf QMouse\-Event} $\ast$)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Drop\-Event} ({\bf QDrop\-Event} $\ast$)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf contents\-Drag\-Enter\-Event} ({\bf QDrag\-Enter\-Event} $\ast$)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual {\bf QDrag\-Object} $\ast$ {\bf drag\-Object} ()
\item 
virtual bool {\bf accept\-Drag} ({\bf QDrop\-Event} $\ast$event) const 
\item 
virtual {\bf QRect} {\bf draw\-Drop\-Visualizer} ({\bf QPainter} $\ast$p, {\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$after)
\begin{CompactList}\small\item\em Paint the drag line. \item\end{CompactList}\item 
virtual {\bf QRect} {\bf draw\-Item\-Highlighter} ({\bf QPainter} $\ast$painter, {\bf QList\-View\-Item} $\ast$item)
\begin{CompactList}\small\item\em Paint the drag rectangle. \item\end{CompactList}\item 
virtual void {\bf start\-Drag} ()
\begin{CompactList}\small\item\em This method calls {\bf drag\-Object}{\rm (p.\,\pageref{classKListView_b17})}() and starts the drag. \item\end{CompactList}\item 
virtual void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
virtual void {\bf viewport\-Paint\-Event} ({\bf QPaint\-Event} $\ast$)
\begin{CompactList}\small\item\em Reimplemented for internal reasons. \item\end{CompactList}\item 
void {\bf activate\-Automatic\-Selection} ()
\begin{CompactList}\small\item\em In File\-Manager selection mode: explicitely activate the mode in which the current item is automatically selected. \item\end{CompactList}\item 
void {\bf deactivate\-Automatic\-Selection} ()
\begin{CompactList}\small\item\em In File\-Manager selection mode: explicitely deactivate the mode in which the current item is automatically selected. \item\end{CompactList}\item 
bool {\bf automatic\-Selection} () const 
\begin{CompactList}\small\item\em In File\-Manager selection mode: return whether it is currently in the mode where the current item is selected automatically. \item\end{CompactList}\item 
virtual void {\bf viewport\-Resize\-Event} ({\bf QResize\-Event} $\ast$e)
\begin{CompactList}\small\item\em Reimplemented for {\bf set\-Full\-Width()}{\rm (p.\,\pageref{classKListView_a23})}. \item\end{CompactList}\item 
virtual void {\bf movable\-Drop\-Event} ({\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$afterme)
\begin{CompactList}\small\item\em Handle drop\-Event when {\bf items\-Movable()}{\rm (p.\,\pageref{classKListView_a10})} is set to true. \item\end{CompactList}\item 
virtual void {\bf find\-Drop} (const  {\bf QPoint} \&pos, {\bf QList\-View\-Item} $\ast$\&parent, {\bf QList\-View\-Item} $\ast$\&after)
\begin{CompactList}\small\item\em Where is the nearest {\bf QList\-View\-Item} that I'm going to drop? \item\end{CompactList}\item 
void {\bf file\-Manager\-Key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\begin{CompactList}\small\item\em A special key\-Press\-Event (for File\-Manager selection mode). \item\end{CompactList}\item 
int {\bf depth\-To\-Pixels} (int depth)
\begin{CompactList}\small\item\em Convert the depth of an item into its indentation in pixels. \item\end{CompactList}\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKListView_b32}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KList\-View\-Item}\label{classKListView_n0}

\end{CompactItemize}


\subsection{Detailed Description}
This Widget extends the functionality of {\bf QList\-View} to honor the system wide settings for Single Click/Double Click mode, Auto\-Selection and Change\-Cursor\-Over\-Link (TM). 

There is a new signal {\bf executed()}{\rm (p.\,\pageref{classKListView_l0})}. It gets connected to either {\bf QList\-View::clicked}() or {\bf QList\-View::double\-Clicked}() depending on the {\bf KDE} wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don180t need to care about the current settings. If you want to get informed when the user selects something connect to the {\bf QList\-View::selection\-Changed()} signal.

Drag-and-Drop is supported with the signal {\bf dropped}{\rm (p.\,\pageref{classKListView_l3})}(), just {\bf set\-Accept\-Drops}{\rm (p.\,\pageref{classKListView_a2})}(true) and connect it to a suitable slot. To see where you are dropping, {\bf set\-Drop\-Visualizer}{\rm (p.\,\pageref{classKListView_i6})}(true). And also you'll need {\bf accept\-Drag}{\rm (p.\,\pageref{classKListView_b18})}(QDrop\-Event$\ast$)

KList\-View is drag-enabled, too: to benefit from that you've got derive from it. Reimplement {\bf drag\-Object}{\rm (p.\,\pageref{classKListView_b17})}() and (possibly) {\bf start\-Drag}{\rm (p.\,\pageref{classKListView_b21})}(), and {\bf set\-Drag\-Enabled}{\rm (p.\,\pageref{classKListView_i4})}(true).

\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf klistview.h}{\rm (p.\,\pageref{klistview_8h})},v 1.92.2.3 2003/09/03 11:22:19 wheeler Exp \end{Desc}
\end{Desc}




Definition at line 54 of file klistview.h.

\subsection{Member Enumeration Documentation}
\index{KListView@{KList\-View}!SelectionModeExt@{SelectionModeExt}}
\index{SelectionModeExt@{SelectionModeExt}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KList\-View::Selection\-Mode\-Ext}}\label{classKListView_w5}


Possible selection modes. 

The first four correspond directly to QList\-View::Selection\-Mode, while the File\-Manager selection mode is defined as follows: \begin{itemize}
\item home: move to the first \item end: move to the last \item Pg\-Up/Pg\-Dn: move one page up/down \item up/down: move one item up/down \item insert: toggle selection of current and move to the next \item space: toggle selection of the current \item CTRL+up: move to the previous item and toggle selection of this one \item CTRL+down: toggle selection of the current item and move to the next \item CTRL+end: toggle selection from (including) the current item to (including) the last item \item CTRL+home: toggle selection from (including) the current item to the (including) the first item \item CTRL+Pg\-Dn: toggle selection from (including) the current item to (excluding) the item one page down \item CTRL+Pg\-Up: toggle selection from (excluding) the current item to (including) the item one page up\end{itemize}
The combinations work the same with SHIFT instead of CTRL, except that if you start selecting something using SHIFT everything selected before will be deselected first.

Additionally the current item is always selected automatically when navigating using the keyboard, except other items were selected explicitely.

This way e.g. SHIFT+up/Pg\-Up then SHIFT+down/Pg\-Dn leaves no item selected 

Definition at line 95 of file klistview.h.

Referenced by selection\-Mode\-Ext().

\subsection{Constructor \& Destructor Documentation}
\index{KListView@{KList\-View}!KListView@{KListView}}
\index{KListView@{KListView}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-View::KList\-View ({\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKListView_a0}


Constructor. 

The parameters {\tt parent} and {\tt name} are handled by {\bf QList\-View}, as usual. 

Definition at line 396 of file klistview.cpp.

References KGlobal\-Settings::alternate\-Background\-Color(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), emit\-Context\-Menu(), menu\-Short\-Cut\-Pressed(), KStd\-Accel::name(), QList\-View::on\-Item(), QList\-View::on\-Viewport(), QList\-View::right\-Button\-Clicked(), QList\-View::right\-Button\-Pressed(), slot\-Auto\-Select(), slot\-On\-Item(), slot\-On\-Viewport(), and slot\-Settings\-Changed().\index{KListView@{KList\-View}!~KListView@{$\sim$KListView}}
\index{~KListView@{$\sim$KListView}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KList\-View::$\sim${\bf KList\-View} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a1}


Destructor. 



Definition at line 441 of file klistview.cpp.

\subsection{Member Function Documentation}
\index{KListView@{KList\-View}!setAcceptDrops@{setAcceptDrops}}
\index{setAcceptDrops@{setAcceptDrops}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Accept\-Drops (bool)\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a2}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Definition at line 1825 of file klistview.cpp.\index{KListView@{KList\-View}!isExecuteArea@{isExecuteArea}}
\index{isExecuteArea@{isExecuteArea}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::is\-Execute\-Area (const {\bf QPoint} \& {\em point})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a3}


This function determines whether the given coordinates are within the execute area. 

The execute area is the part of a {\bf QList\-View\-Item} where mouse clicks or double clicks respectively generate a {\bf executed}{\rm (p.\,\pageref{classKListView_l0})}() signal. Depending on {\bf QList\-View::all\-Columns\-Show\-Focus}() this is either the whole item or only the first column. \begin{Desc}
\item[Returns:]true if point is inside execute area of an item, false in all other cases including the case that it is over the viewport. \end{Desc}


Definition at line 446 of file klistview.cpp.

References QList\-View::item\-At(), and QPoint::x().

Referenced by contents\-Mouse\-Move\-Event(), emit\-Execute(), and slot\-On\-Item().\index{KListView@{KList\-View}!isExecuteArea@{isExecuteArea}}
\index{isExecuteArea@{isExecuteArea}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::is\-Execute\-Area (int {\em x})}\label{classKListView_a4}


Same thing, but from an x coordinate only. 

This only checks if x is in the first column (if all columns don't show focus), without testing if the y coordinate is over an item or not. 

Definition at line 454 of file klistview.cpp.

References QList\-View::all\-Columns\-Show\-Focus(), QList\-View::column\-Width(), and QList\-View::header().\index{KListView@{KList\-View}!selectedItems@{selectedItems}}
\index{selectedItems@{selectedItems}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ KList\-View::selected\-Items () const}\label{classKListView_a5}


\begin{Desc}
\item[Returns:]a list containing the currently selected items. \end{Desc}


Definition at line 1158 of file klistview.cpp.

References QPtr\-List::append(), QList\-View::first\-Child(), QList\-View\-Item::is\-Selected(), and QList\-View\-Item::item\-Below().

Referenced by file\-Manager\-Key\-Press\-Event().\index{KListView@{KList\-View}!moveItem@{moveItem}}
\index{moveItem@{moveItem}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::move\-Item ({\bf QList\-View\-Item} $\ast$ {\em item}, {\bf QList\-View\-Item} $\ast$ {\em parent}, {\bf QList\-View\-Item} $\ast$ {\em after})}\label{classKListView_a6}


Arbitrarily move {\tt item} to {\tt parent}, positioned immediately after item {\tt after}. 



Definition at line 1167 of file klistview.cpp.

References QList\-View::insert\-Item(), QList\-View\-Item::insert\-Item(), QList\-View\-Item::parent(), and QList\-View::take\-Item().

Referenced by movable\-Drop\-Event().\index{KListView@{KList\-View}!lastItem@{lastItem}}
\index{lastItem@{lastItem}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QList\-View\-Item} $\ast$ KList\-View::last\-Item () const}\label{classKListView_a7}


\begin{Desc}
\item[Returns:]the last item (not child!) of this listview.\end{Desc}
\begin{Desc}
\item[See also:]{\bf last\-Child()}{\rm (p.\,\pageref{classKListView_a8})} \end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 1073 of file klistview.cpp.

References QList\-View\-Item\-Iterator::current(), and last\-Child().

Referenced by find\-Drop().\index{KListView@{KList\-View}!lastChild@{lastChild}}
\index{lastChild@{lastChild}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QList\-View\-Item} $\ast$ KList\-View::last\-Child () const}\label{classKListView_a8}


\begin{Desc}
\item[Returns:]the last child of this listview. \end{Desc}


Definition at line 1063 of file klistview.cpp.

References QList\-View::first\-Child(), and QList\-View\-Item::next\-Sibling().

Referenced by last\-Item().\index{KListView@{KList\-View}!renameLineEdit@{renameLineEdit}}
\index{renameLineEdit@{renameLineEdit}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KLine\-Edit} $\ast$ KList\-View::rename\-Line\-Edit () const}\label{classKListView_a9}


\begin{Desc}
\item[Returns:]the lineedit used for inline renaming. Use that to setup a {\bf KCompletion} or {\bf QValidator} for the lineedit \end{Desc}


Definition at line 1083 of file klistview.cpp.\index{KListView@{KList\-View}!itemsMovable@{itemsMovable}}
\index{itemsMovable@{itemsMovable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::items\-Movable () const}\label{classKListView_a10}


\begin{Desc}
\item[Returns:]if it is legal to move items in the list view \end{Desc}


Definition at line 1112 of file klistview.cpp.

Referenced by accept\-Drag(), and contents\-Drop\-Event().\index{KListView@{KList\-View}!itemsRenameable@{itemsRenameable}}
\index{itemsRenameable@{itemsRenameable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::items\-Renameable () const}\label{classKListView_a11}


\begin{Desc}
\item[Returns:]whether inplace-renaming has been enabled.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Items\-Renameable()}{\rm (p.\,\pageref{classKListView_i3})} \end{Desc}


Definition at line 1122 of file klistview.cpp.

Referenced by contents\-Mouse\-Release\-Event().\index{KListView@{KList\-View}!dragEnabled@{dragEnabled}}
\index{dragEnabled@{dragEnabled}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::drag\-Enabled () const}\label{classKListView_a12}


\begin{Desc}
\item[Returns:]whether dragging is enabled. \end{Desc}


Definition at line 1133 of file klistview.cpp.

Referenced by contents\-Mouse\-Move\-Event().\index{KListView@{KList\-View}!autoOpen@{autoOpen}}
\index{autoOpen@{autoOpen}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::auto\-Open () const}\label{classKListView_a13}


\begin{Desc}
\item[Returns:]true if Auto\-Open is enabled (not implemented currently).\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Auto\-Open()}{\rm (p.\,\pageref{classKListView_i5})} \end{Desc}


Definition at line 1143 of file klistview.cpp.\index{KListView@{KList\-View}!isRenameable@{isRenameable}}
\index{isRenameable@{isRenameable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::is\-Renameable (int {\em column}) const}\label{classKListView_a14}


\begin{Desc}
\item[Returns:]true if {\tt column} is renamable. \end{Desc}


Definition at line 1291 of file klistview.cpp.\index{KListView@{KList\-View}!dropVisualizer@{dropVisualizer}}
\index{dropVisualizer@{dropVisualizer}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::drop\-Visualizer () const}\label{classKListView_a15}


\begin{Desc}
\item[Returns:]true if drawing of the drop-visualizer has been enabled. \end{Desc}


Definition at line 1148 of file klistview.cpp.

Referenced by contents\-Drag\-Move\-Event().\index{KListView@{KList\-View}!tooltipColumn@{tooltipColumn}}
\index{tooltipColumn@{tooltipColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::tooltip\-Column () const}\label{classKListView_a16}


\begin{Desc}
\item[Returns:]the column for which tooltips are displayed (or -1 if none set). \end{Desc}


Definition at line 1329 of file klistview.cpp.

Referenced by show\-Tooltip().\index{KListView@{KList\-View}!createChildren@{createChildren}}
\index{createChildren@{createChildren}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::create\-Children () const}\label{classKListView_a17}


For future expansions. 

Do not use. {\bf This class or method is obsolete, it is provided for compatibility only.} 

Definition at line 1323 of file klistview.cpp.\index{KListView@{KList\-View}!dropHighlighter@{dropHighlighter}}
\index{dropHighlighter@{dropHighlighter}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::drop\-Highlighter () const}\label{classKListView_a18}


\begin{Desc}
\item[Returns:]true if drawing of the drop-highlighter has been enabled. \end{Desc}


Definition at line 1344 of file klistview.cpp.

Referenced by contents\-Drag\-Move\-Event().\index{KListView@{KList\-View}!dropVisualizerWidth@{dropVisualizerWidth}}
\index{dropVisualizerWidth@{dropVisualizerWidth}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::drop\-Visualizer\-Width () const}\label{classKListView_a19}


The drop\-Visualizer\-Width defaults to 4. 

\begin{Desc}
\item[Returns:]the current width of the drop-visualizer. \end{Desc}


Definition at line 1831 of file klistview.cpp.\index{KListView@{KList\-View}!selectionModeExt@{selectionModeExt}}
\index{selectionModeExt@{selectionModeExt}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KList\-View::Selection\-Mode\-Ext} KList\-View::selection\-Mode\-Ext () const}\label{classKListView_a20}


\begin{Desc}
\item[Returns:]the \char`\"{}extended\char`\"{} selection mode of this listview.\end{Desc}
\begin{Desc}
\item[See also:]{\bf Selection\-Mode\-Ext}{\rm (p.\,\pageref{classKListView_w5})} 

{\bf set\-Selection\-Mode\-Ext}{\rm (p.\,\pageref{classKListView_i11})} \end{Desc}


Definition at line 1768 of file klistview.cpp.

References Selection\-Mode\-Ext.

Referenced by contents\-Mouse\-Press\-Event().\index{KListView@{KList\-View}!itemIndex@{itemIndex}}
\index{itemIndex@{itemIndex}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::item\-Index (const {\bf QList\-View\-Item} $\ast$ {\em item}) const}\label{classKListView_a21}


Returns the index of {\tt item} within the item tree or -1 if {\tt item} doesn't exist in this list view. 

This function takes all items into account not only the visible ones. 

Definition at line 1773 of file klistview.cpp.

References QList\-View\-Item\-Iterator::current(), and QList\-View::first\-Child().

Referenced by slot\-Auto\-Select().\index{KListView@{KList\-View}!itemAtIndex@{itemAtIndex}}
\index{itemAtIndex@{itemAtIndex}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QList\-View\-Item} $\ast$ KList\-View::item\-At\-Index (int {\em index})}\label{classKListView_a22}


Returns the item of {\tt index} within the item tree or 0 if {\tt index} doesn't exist in this list view. 

This function takes all items into account not only the visible ones. 

Definition at line 1792 of file klistview.cpp.

References QList\-View\-Item\-Iterator::current(), and QList\-View::first\-Child().\index{KListView@{KList\-View}!setFullWidth@{setFullWidth}}
\index{setFullWidth@{setFullWidth}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Full\-Width ()}\label{classKListView_a23}


{\bf This class or method is obsolete, it is provided for compatibility only.} 



Definition at line 1868 of file klistview.cpp.\index{KListView@{KList\-View}!setFullWidth@{setFullWidth}}
\index{setFullWidth@{setFullWidth}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Full\-Width (bool {\em full\-Width})}\label{classKListView_a24}


Let the last column fit exactly all the available width. 



Definition at line 1873 of file klistview.cpp.

References QList\-View::columns(), and QList\-View::header().\index{KListView@{KList\-View}!fullWidth@{fullWidth}}
\index{fullWidth@{fullWidth}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::full\-Width () const}\label{classKListView_a25}


Returns whether the last column is set to fit the available width. 



Definition at line 1879 of file klistview.cpp.\index{KListView@{KList\-View}!addColumn@{addColumn}}
\index{addColumn@{addColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::add\-Column (const {\bf QString} \& {\em label}, int {\em width} = -1)\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a26}


Reimplemented for full width support. 



Reimplemented from {\bf QList\-View}.

Definition at line 1884 of file klistview.cpp.

References QList\-View::add\-Column(), QList\-View::columns(), QList\-View::header(), and KStd\-Accel::label().

Referenced by KJanus\-Widget::KJanus\-Widget().\index{KListView@{KList\-View}!addColumn@{addColumn}}
\index{addColumn@{addColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::add\-Column (const {\bf QIcon\-Set} \& {\em iconset}, const {\bf QString} \& {\em label}, int {\em width} = -1)\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a27}


Reimplemented for full width support. 



Reimplemented from {\bf QList\-View}.

Definition at line 1894 of file klistview.cpp.

References QList\-View::add\-Column(), QList\-View::columns(), QList\-View::header(), and KStd\-Accel::label().\index{KListView@{KList\-View}!removeColumn@{removeColumn}}
\index{removeColumn@{removeColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::remove\-Column (int {\em index})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a28}


Reimplemented for full width support. 



Reimplemented from {\bf QList\-View}.

Definition at line 1904 of file klistview.cpp.

References QList\-View::columns(), QList\-View::header(), and QList\-View::remove\-Column().\index{KListView@{KList\-View}!setAlternateBackground@{setAlternateBackground}}
\index{setAlternateBackground@{setAlternateBackground}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Alternate\-Background (const {\bf QColor} \& {\em c})}\label{classKListView_a29}


sets the alternate background background color. 

This only has an effect if the items are KList\-View\-Items

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em c}]the color to use for every other item. Set to an invalid colour to disable alternate colours. \end{description}
\end{Desc}


Definition at line 1920 of file klistview.cpp.\index{KListView@{KList\-View}!alternateBackground@{alternateBackground}}
\index{alternateBackground@{alternateBackground}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf QColor} \& KList\-View::alternate\-Background () const}\label{classKListView_a30}


\begin{Desc}
\item[Returns:]the alternate background color \end{Desc}


Definition at line 1915 of file klistview.cpp.

Referenced by KList\-View\-Item::is\-Alternate().\index{KListView@{KList\-View}!saveLayout@{saveLayout}}
\index{saveLayout@{saveLayout}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::save\-Layout ({\bf KConfig} $\ast$ {\em config}, const {\bf QString} \& {\em group}) const}\label{classKListView_a31}


Saves the list view's layout (column widtsh, column order, sort column) to a {\bf KConfig} group. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em config}]the {\bf KConfig} object to write to \item[{\em group}]the config group to use \end{description}
\end{Desc}


Definition at line 1926 of file klistview.cpp.

References QList\-View::columns(), QList\-View::column\-Width(), QList\-View::header(), QString::number(), and KConfig\-Base::write\-Entry().\index{KListView@{KList\-View}!restoreLayout@{restoreLayout}}
\index{restoreLayout@{restoreLayout}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::restore\-Layout ({\bf KConfig} $\ast$ {\em config}, const {\bf QString} \& {\em group})}\label{classKListView_a32}


Reads the list view's layout from a {\bf KConfig} group as stored with {\bf save\-Layout}{\rm (p.\,\pageref{classKListView_a31})}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em config}]the {\bf KConfig} object to read from \item[{\em group}]the config group to use \end{description}
\end{Desc}


Definition at line 1941 of file klistview.cpp.

References KConfig\-Base::has\-Key(), QList\-View::header(), KConfig\-Base::read\-Bool\-Entry(), KConfig\-Base::read\-List\-Entry(), KConfig\-Base::read\-Num\-Entry(), QList\-View::set\-Column\-Width(), and set\-Sorting().\index{KListView@{KList\-View}!setSorting@{setSorting}}
\index{setSorting@{setSorting}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Sorting (int {\em column}, bool {\em ascending} = true)\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a33}


Reimplemented to remember the current sort column and order. 



Reimplemented from {\bf QList\-View}.

Definition at line 1957 of file klistview.cpp.

References QList\-View::set\-Sorting().

Referenced by KJanus\-Widget::KJanus\-Widget(), and restore\-Layout().\index{KListView@{KList\-View}!columnSorted@{columnSorted}}
\index{columnSorted@{columnSorted}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::column\-Sorted (void) const}\label{classKListView_a34}


\begin{Desc}
\item[Returns:]the currently sorted column, or -1 if none is sorted \end{Desc}


Definition at line 1964 of file klistview.cpp.\index{KListView@{KList\-View}!ascendingSort@{ascendingSort}}
\index{ascendingSort@{ascendingSort}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::ascending\-Sort (void) const}\label{classKListView_a35}


\begin{Desc}
\item[Returns:]whether the current sort is ascending (or descending) \end{Desc}


Definition at line 1969 of file klistview.cpp.\index{KListView@{KList\-View}!executed@{executed}}
\index{executed@{executed}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::executed ({\bf QList\-View\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l0}


This signal is emitted whenever the user executes an listview item. 

That means depending on the {\bf KDE} wide Single Click/Double Click setting the user clicked or double clicked on that item. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]is the pointer to the executed listview item.\end{description}
\end{Desc}
Note that you may not delete any {\bf QList\-View\-Item} objects in slots connected to this signal. 

Referenced by emit\-Execute().\index{KListView@{KList\-View}!executed@{executed}}
\index{executed@{executed}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::executed ({\bf QList\-View\-Item} $\ast$ {\em item}, const {\bf QPoint} \& {\em pos}, int {\em c})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l1}


This signal is emitted whenever the user executes an listview item. 

That means depending on the {\bf KDE} wide Single Click/Double Click setting the user clicked or double clicked on that item. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]is the pointer to the executed listview item. \item[{\em pos}]is the position where the user has clicked \item[{\em c}]is the column into which the user clicked.\end{description}
\end{Desc}
Note that you may not delete any {\bf QList\-View\-Item} objects in slots connected to this signal. \index{KListView@{KList\-View}!doubleClicked@{doubleClicked}}
\index{doubleClicked@{doubleClicked}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::double\-Clicked ({\bf QList\-View\-Item} $\ast$ {\em item}, const {\bf QPoint} \& {\em pos}, int {\em c})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l2}


This signal gets emitted whenever the user double clicks into the listview. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]is the pointer to the clicked listview item. \item[{\em pos}]is the position where the user has clicked, and \item[{\em c}]is the column into which the user clicked.\end{description}
\end{Desc}
Note that you may not delete any {\bf QList\-View\-Item} objects in slots connected to this signal.

This signal is more or less here for the sake of completeness. You should normally not need to use this. In most cases it180s better to use {\bf executed}{\rm (p.\,\pageref{classKListView_l0})}() instead. 

Reimplemented from {\bf QList\-View}.

Referenced by contents\-Mouse\-Double\-Click\-Event().\index{KListView@{KList\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::dropped ({\bf QDrop\-Event} $\ast$ {\em e}, {\bf QList\-View\-Item} $\ast$ {\em after})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l3}


This signal gets emitted whenever something acceptable is dropped onto the listview. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em e}]is the drop event itself (it has already been accepted) \item[{\em after}]is the item after which the drop occured (or 0L, if the drop was above all items)\end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\#accept\-Drop() \end{Desc}


Reimplemented in {\bf KFile\-Tree\-View}.

Referenced by contents\-Drop\-Event().\index{KListView@{KList\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::dropped ({\bf KList\-View} $\ast$ {\em list}, {\bf QDrop\-Event} $\ast$ {\em e}, {\bf QList\-View\-Item} $\ast$ {\em after})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l4}


This signal gets emitted whenever something acceptable is dropped onto the listview. 

This is an overloaded version of the above (provided to simplify processing drops outside of the class).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]is the listview \item[{\em e}]is the drop event itself (it has already been accepted) \item[{\em after}]is the item after which the drop occured (or 0L, if the drop was above all items \end{description}
\end{Desc}
\index{KListView@{KList\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::dropped ({\bf KList\-View} $\ast$ {\em list}, {\bf QDrop\-Event} $\ast$ {\em e}, {\bf QList\-View\-Item} $\ast$ {\em parent}, {\bf QList\-View\-Item} $\ast$ {\em after})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l5}


This signal gets emitted whenever something acceptable is dropped onto the listview. 

This function also provides a parent, in the event that your listview is a tree \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]is the listview \item[{\em e}]is the drop event itself (it has already been accepted) \item[{\em parent}]the item that is to be the parent of the new item \item[{\em after}]is the item after which the drop occured (or 0L, if the drop was above all items \end{description}
\end{Desc}
\index{KListView@{KList\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::dropped ({\bf QDrop\-Event} $\ast$ {\em e}, {\bf QList\-View\-Item} $\ast$ {\em parent}, {\bf QList\-View\-Item} $\ast$ {\em after})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l6}


This signal gets emitted whenever something acceptable is dropped onto the listview. 

This function also provides a parent, in the event that your listview is a tree \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em e}]is the drop event itself (it has already been accepted) \item[{\em parent}]the item that is to be the parent of the new item \item[{\em after}]is the item after which the drop occured (or 0L, if the drop was above all items \end{description}
\end{Desc}


Reimplemented in {\bf KFile\-Tree\-View}.\index{KListView@{KList\-View}!moved@{moved}}
\index{moved@{moved}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::moved ()\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l7}


This signal is emitted when ever the user moves an item in the list via Dn\-D. 

If more than one item is moved at the same time, this signal is only emitted once. 

Referenced by movable\-Drop\-Event(), and start\-Drag().\index{KListView@{KList\-View}!aboutToMove@{aboutToMove}}
\index{aboutToMove@{aboutToMove}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::about\-To\-Move ()\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l8}


Connect to this signal if you want to do some preprocessing before a move is made, for example, to disable sorting. 

This is sent only once per each groups of moves. That is, for each drop that is a move this will be emitted once, before KList\-View calls {\bf move\-Item}{\rm (p.\,\pageref{classKListView_a6})}() 

Referenced by movable\-Drop\-Event().\index{KListView@{KList\-View}!moved@{moved}}
\index{moved@{moved}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::moved ({\bf QList\-View\-Item} $\ast$ {\em item}, {\bf QList\-View\-Item} $\ast$ {\em after\-First}, {\bf QList\-View\-Item} $\ast$ {\em after\-Now})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l9}


This signal is emitted when ever the user moves an item in the list via Dn\-D. 

If more than one item is moved at the same time, {\tt after\-First} and {\tt after\-Now} will reflect what was true before the move. This differs from {\bf moved}{\rm (p.\,\pageref{classKListView_l7})}(), so be careful. All the items will have been moved before {\bf moved}{\rm (p.\,\pageref{classKListView_l7})}() is emitted, which is not true in this method. // FIXME \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]the item that was moved \item[{\em after\-First}]the item that parameter item was in before the move, in the list \item[{\em after\-Now}]the item it's currently after. \end{description}
\end{Desc}
\index{KListView@{KList\-View}!moved@{moved}}
\index{moved@{moved}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::moved ({\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \& {\em items}, {\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \& {\em after\-First}, {\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ \& {\em after\-Now})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l10}


This signal is emitted after all the items have been moved. 

It reports info for each and every item moved, in order. The first element in {\tt items} associates with the first of after\-First and after\-Now. \index{KListView@{KList\-View}!itemRenamed@{itemRenamed}}
\index{itemRenamed@{itemRenamed}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::item\-Renamed ({\bf QList\-View\-Item} $\ast$ {\em item}, const {\bf QString} \& {\em str}, int {\em col})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l11}


This signal gets emitted when an item is renamed via in-place renaming. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em item}]is the renamed item. \item[{\em str}]is the new value of column {\tt col}. \item[{\em col}]is the renamed column. \end{description}
\end{Desc}
\index{KListView@{KList\-View}!itemRenamed@{itemRenamed}}
\index{itemRenamed@{itemRenamed}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::item\-Renamed ({\bf QList\-View\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l12}


Same as above, but without the extra information. 

\index{KListView@{KList\-View}!menuShortCutPressed@{menuShortCutPressed}}
\index{menuShortCutPressed@{menuShortCutPressed}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::menu\-Short\-Cut\-Pressed ({\bf KList\-View} $\ast$ {\em list}, {\bf QList\-View\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l13}


This signal is emitted when the shortcut key for popup-menus is pressed. 

Normally you should not use this, just connect a slot to signal {\bf context\-Menu}{\rm (p.\,\pageref{classKListView_l14})} (KList\-View$\ast$, QList\-View\-Item$\ast$, const {\bf QPoint}\&) to correctly handle showing context menus regardless of settings.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]is this listview. \item[{\em item}]is the {\bf current\-Item}() at the time the key was pressed. May be 0L. \end{description}
\end{Desc}


Referenced by key\-Press\-Event(), and KList\-View().\index{KListView@{KList\-View}!contextMenu@{contextMenu}}
\index{contextMenu@{contextMenu}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::context\-Menu ({\bf KList\-View} $\ast$ {\em l}, {\bf QList\-View\-Item} $\ast$ {\em i}, const {\bf QPoint} \& {\em p})\hspace{0.3cm}{\tt  [signal]}}\label{classKListView_l14}


This signal is emitted whenever a context-menu should be shown for item {\tt i}. 

It automatically adjusts for all settings involved (Menu key, show\-Menu\-On\-Press/Click).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em l}]is this listview. \item[{\em i}]is the item for which the menu should be shown. May be 0L. \item[{\em p}]is the point at which the menu should be shown. \end{description}
\end{Desc}


Referenced by emit\-Context\-Menu().\index{KListView@{KList\-View}!rename@{rename}}
\index{rename@{rename}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::rename ({\bf QList\-View\-Item} $\ast$ {\em item}, int {\em c})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i0}


Rename column {\tt c} of {\tt item}. 



Definition at line 1282 of file klistview.cpp.

References QList\-View::ensure\-Item\-Visible().

Referenced by contents\-Mouse\-Release\-Event(), and KList\-View\-Line\-Edit::select\-Next\-Cell().\index{KListView@{KList\-View}!setRenameable@{setRenameable}}
\index{setRenameable@{setRenameable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Renameable (int {\em column}, bool {\em yesno} = true)\hspace{0.3cm}{\tt  [slot]}}\label{classKListView_i1}


By default, if you called set\-Items\-Renameable(true), only the first column is renameable. 

Use this function to enable the feature on other columns.

If you want more intelligent (dynamic) selection, you'll have to derive from KList\-View, and override {\bf rename}{\rm (p.\,\pageref{classKListView_i0})}() and call only call it if you want the item to be renamed. 

Definition at line 1296 of file klistview.cpp.

References QList\-View::header().\index{KListView@{KList\-View}!setItemsMovable@{setItemsMovable}}
\index{setItemsMovable@{setItemsMovable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Items\-Movable (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i2}


Set whether items in the list view can be moved. 

It is enabled by default.

\begin{Desc}
\item[See also:]{\bf items\-Movable()}{\rm (p.\,\pageref{classKListView_a10})} \end{Desc}


Definition at line 1107 of file klistview.cpp.\index{KListView@{KList\-View}!setItemsRenameable@{setItemsRenameable}}
\index{setItemsRenameable@{setItemsRenameable}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Items\-Renameable (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i3}


Enables inplace-renaming of items. 

It is disabled by default.

\begin{Desc}
\item[See also:]{\bf items\-Renameable()}{\rm (p.\,\pageref{classKListView_a11})} 

{\bf set\-Renameable()}{\rm (p.\,\pageref{classKListView_i1})} \end{Desc}


Definition at line 1117 of file klistview.cpp.\index{KListView@{KList\-View}!setDragEnabled@{setDragEnabled}}
\index{setDragEnabled@{setDragEnabled}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Drag\-Enabled (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i4}


Enable/Disable the dragging of items. 

It is disabled by default. 

Definition at line 1128 of file klistview.cpp.\index{KListView@{KList\-View}!setAutoOpen@{setAutoOpen}}
\index{setAutoOpen@{setAutoOpen}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Auto\-Open (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i5}


Enable/Disable Auto\-Open (not implemented currently). 



Definition at line 1138 of file klistview.cpp.\index{KListView@{KList\-View}!setDropVisualizer@{setDropVisualizer}}
\index{setDropVisualizer@{setDropVisualizer}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Drop\-Visualizer (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i6}


Enable/Disable the drawing of a drop-visualizer (a bar that shows where a dropped item would be inserted). 

It is enabled by default, if dragging is enabled 

Definition at line 1153 of file klistview.cpp.\index{KListView@{KList\-View}!setDropVisualizerWidth@{setDropVisualizerWidth}}
\index{setDropVisualizerWidth@{setDropVisualizerWidth}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Drop\-Visualizer\-Width (int {\em w})\hspace{0.3cm}{\tt  [slot]}}\label{classKListView_i7}


Set the width of the (default) drop-visualizer. 

If you don't call this method, the width is set to 4. 

Definition at line 1200 of file klistview.cpp.\index{KListView@{KList\-View}!setTooltipColumn@{setTooltipColumn}}
\index{setTooltipColumn@{setTooltipColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Tooltip\-Column (int {\em column})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i8}


Set which column should be used for automatic tooltips. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em column}]is the column for which tooltips will be shown. Set -1 to disable this feature. \end{description}
\end{Desc}


Definition at line 1334 of file klistview.cpp.\index{KListView@{KList\-View}!setDropHighlighter@{setDropHighlighter}}
\index{setDropHighlighter@{setDropHighlighter}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Drop\-Highlighter (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i9}


Enable/Disable the drawing of a drop-highlighter (a rectangle around the item under the mouse cursor). 

It is disabled by default. 

Definition at line 1339 of file klistview.cpp.\index{KListView@{KList\-View}!setCreateChildren@{setCreateChildren}}
\index{setCreateChildren@{setCreateChildren}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Create\-Children (bool {\em b})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKListView_i10}


For future expansions. 

Do not use. {\bf This class or method is obsolete, it is provided for compatibility only.} 

Definition at line 1318 of file klistview.cpp.\index{KListView@{KList\-View}!setSelectionModeExt@{setSelectionModeExt}}
\index{setSelectionModeExt@{setSelectionModeExt}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Selection\-Mode\-Ext ({\bf Selection\-Mode\-Ext} {\em mode})\hspace{0.3cm}{\tt  [slot]}}\label{classKListView_i11}


Set the selection mode. 

A different name was chosen to avoid API-clashes with {\bf QList\-View::set\-Selection\-Mode}(). 

Definition at line 1745 of file klistview.cpp.

References QList\-View::set\-Selection\-Mode().\index{KListView@{KList\-View}!setTabOrderedRenaming@{setTabOrderedRenaming}}
\index{setTabOrderedRenaming@{setTabOrderedRenaming}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Tab\-Ordered\-Renaming (bool {\em b})\hspace{0.3cm}{\tt  [slot]}}\label{classKListView_i12}


Enable/disable tabbing between editable cells \begin{Desc}
\item[Since:]3.1. \end{Desc}




Definition at line 1359 of file klistview.cpp.\index{KListView@{KList\-View}!tabOrderedRenaming@{tabOrderedRenaming}}
\index{tabOrderedRenaming@{tabOrderedRenaming}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::tab\-Ordered\-Renaming () const\hspace{0.3cm}{\tt  [slot]}}\label{classKListView_i13}


Returns whether tab ordered renaming is enabled \begin{Desc}
\item[Since:]3.1. \end{Desc}




Definition at line 1364 of file klistview.cpp.\index{KListView@{KList\-View}!below@{below}}
\index{below@{below}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::below (const {\bf QRect} \& {\em rect}, const {\bf QPoint} \& {\em p})\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKListView_b0}


Determine whether a drop on position {\tt p} would count as being above or below the {\bf QRect} {\tt rect}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em rect}]is the rectangle we examine. \item[{\em p}]is the point located in the rectangle, p is assumed to be in viewport coordinates. \end{description}
\end{Desc}


Definition at line 602 of file klistview.h.

References QRect::bottom(), QRect::top(), and QPoint::y().

Referenced by below().\index{KListView@{KList\-View}!below@{below}}
\index{below@{below}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::below ({\bf QList\-View\-Item} $\ast$ {\em i}, const {\bf QPoint} \& {\em p})\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKListView_b1}


An overloaded version of {\bf below(const QRect\&, const QPoint\&)}{\rm (p.\,\pageref{classKListView_b0})}. 

It differs from the above only in what arguments it takes.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em i}]the item whose rect() is passed to the above function. \item[{\em p}]is translated from contents coordinates to viewport coordinates before being passed to the above function. \end{description}
\end{Desc}


Definition at line 616 of file klistview.h.

References below(), and QList\-View::item\-Rect().\index{KListView@{KList\-View}!event@{event}}
\index{event@{event}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::event ({\bf QEvent} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b2}


Reimplemented to reload the alternate background in palette changes. 



Definition at line 712 of file klistview.cpp.

References KGlobal\-Settings::alternate\-Background\-Color(), and QEvent::type().\index{KListView@{KList\-View}!emitExecute@{emitExecute}}
\index{emitExecute@{emitExecute}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::emit\-Execute ({\bf QList\-View\-Item} $\ast$ {\em item}, const {\bf QPoint} \& {\em pos}, int {\em c})\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b3}


Emit signal {\bf executed}{\rm (p.\,\pageref{classKListView_l0})}. 



Definition at line 634 of file klistview.cpp.

References executed(), and is\-Execute\-Area().

Referenced by contents\-Mouse\-Double\-Click\-Event().\index{KListView@{KList\-View}!focusInEvent@{focusInEvent}}
\index{focusInEvent@{focusInEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::focus\-In\-Event ({\bf QFocus\-Event} $\ast$ {\em fe})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b4}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Definition at line 667 of file klistview.cpp.

References QList\-View::current\-Item(), QFocus\-Event::reason(), and QList\-View::selection\-Changed().\index{KListView@{KList\-View}!focusOutEvent@{focusOutEvent}}
\index{focusOutEvent@{focusOutEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::focus\-Out\-Event ({\bf QFocus\-Event} $\ast$ {\em fe})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b5}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Definition at line 683 of file klistview.cpp.

References clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), QList\-View::current\-Item(), QFocus\-Event::reason(), and QList\-View::selection\-Changed().\index{KListView@{KList\-View}!leaveEvent@{leaveEvent}}
\index{leaveEvent@{leaveEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::leave\-Event ({\bf QEvent} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b6}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Definition at line 705 of file klistview.cpp.\index{KListView@{KList\-View}!tooltip@{tooltip}}
\index{tooltip@{tooltip}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KList\-View::tooltip ({\bf QList\-View\-Item} $\ast$ {\em item}, int {\em column}) const\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b7}


\begin{Desc}
\item[Returns:]the tooltip for {\tt column} of {\tt item}. \end{Desc}


Definition at line 1354 of file klistview.cpp.

References QList\-View\-Item::text().

Referenced by show\-Tooltip().\index{KListView@{KList\-View}!showTooltip@{showTooltip}}
\index{showTooltip@{showTooltip}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::show\-Tooltip ({\bf QList\-View\-Item} $\ast$ {\em item}, const {\bf QPoint} \& {\em pos}, int {\em column}) const\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b8}


\begin{Desc}
\item[Returns:]whether the tooltip for {\tt column} of {\tt item} shall be shown at point {\tt pos}. \end{Desc}


Definition at line 1349 of file klistview.cpp.

References QString::length(), tooltip(), and tooltip\-Column().\index{KListView@{KList\-View}!contentsDragMoveEvent@{contentsDragMoveEvent}}
\index{contentsDragMoveEvent@{contentsDragMoveEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Drag\-Move\-Event ({\bf QDrag\-Move\-Event} $\ast$ {\em event})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b9}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 940 of file klistview.cpp.

References accept\-Drag(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), draw\-Drop\-Visualizer(), draw\-Item\-Highlighter(), drop\-Highlighter(), drop\-Visualizer(), KNotify\-Client::event(), and find\-Drop().\index{KListView@{KList\-View}!contentsMousePressEvent@{contentsMousePressEvent}}
\index{contentsMousePressEvent@{contentsMousePressEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Mouse\-Press\-Event ({\bf QMouse\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b10}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented from {\bf QList\-View}.

Definition at line 720 of file klistview.cpp.

References QMouse\-Event::button(), QList\-View::clear\-Selection(), QList\-View::contents\-Mouse\-Press\-Event(), QList\-View::current\-Item(), QList\-View\-Item::depth(), QList\-View::header(), QList\-View\-Item::is\-Selected(), QList\-View::item\-At(), QList\-View::item\-Margin(), QMouse\-Event::pos(), QList\-View::root\-Is\-Decorated(), selection\-Mode\-Ext(), QMouse\-Event::state(), QList\-View::tree\-Step\-Size(), and QPoint::x().\index{KListView@{KList\-View}!contentsMouseMoveEvent@{contentsMouseMoveEvent}}
\index{contentsMouseMoveEvent@{contentsMouseMoveEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Mouse\-Move\-Event ({\bf QMouse\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b11}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented from {\bf QList\-View}.

Definition at line 767 of file klistview.cpp.

References QList\-View::contents\-Mouse\-Move\-Event(), QList\-View::contents\-Mouse\-Release\-Event(), drag\-Enabled(), KCursor::hand\-Cursor(), is\-Execute\-Area(), QList\-View::item\-At(), QMouse\-Event::pos(), start\-Drag(), QPoint::x(), and QPoint::y().\index{KListView@{KList\-View}!contentsMouseDoubleClickEvent@{contentsMouseDoubleClickEvent}}
\index{contentsMouseDoubleClickEvent@{contentsMouseDoubleClickEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Mouse\-Double\-Click\-Event ({\bf QMouse\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b12}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented from {\bf QList\-View}.

Definition at line 840 of file klistview.cpp.

References QMouse\-Event::button(), double\-Clicked(), QList\-View::double\-Clicked(), emit\-Execute(), QMouse\-Event::global\-Pos(), QList\-View::header(), QList\-View::item\-At(), QMouse\-Event::pos(), and QPoint::x().\index{KListView@{KList\-View}!contentsDragLeaveEvent@{contentsDragLeaveEvent}}
\index{contentsDragLeaveEvent@{contentsDragLeaveEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Drag\-Leave\-Event ({\bf QDrag\-Leave\-Event} $\ast$ {\em event})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b13}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 973 of file klistview.cpp.

References clean\-Drop\-Visualizer(), and clean\-Item\-Highlighter().\index{KListView@{KList\-View}!contentsMouseReleaseEvent@{contentsMouseReleaseEvent}}
\index{contentsMouseReleaseEvent@{contentsMouseReleaseEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Mouse\-Release\-Event ({\bf QMouse\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b14}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented from {\bf QList\-View}.

Definition at line 807 of file klistview.cpp.

References QMouse\-Event::button(), QList\-View::contents\-Mouse\-Release\-Event(), QList\-View\-Item::depth(), QList\-View::header(), QList\-View::item\-At(), QList\-View::item\-Margin(), items\-Renameable(), QMouse\-Event::pos(), rename(), QList\-View::root\-Is\-Decorated(), QList\-View::tree\-Step\-Size(), and QPoint::x().\index{KListView@{KList\-View}!contentsDropEvent@{contentsDropEvent}}
\index{contentsDropEvent@{contentsDropEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Drop\-Event ({\bf QDrop\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b15}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 866 of file klistview.cpp.

References QDrop\-Event::accept\-Action(), accept\-Drag(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), dropped(), find\-Drop(), items\-Movable(), movable\-Drop\-Event(), QDrop\-Event::pos(), and QDrop\-Event::source().\index{KListView@{KList\-View}!contentsDragEnterEvent@{contentsDragEnterEvent}}
\index{contentsDragEnterEvent@{contentsDragEnterEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::contents\-Drag\-Enter\-Event ({\bf QDrag\-Enter\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b16}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 1194 of file klistview.cpp.

References accept\-Drag(), and KNotify\-Client::event().\index{KListView@{KList\-View}!dragObject@{dragObject}}
\index{dragObject@{dragObject}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QDrag\-Object} $\ast$ KList\-View::drag\-Object ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b17}


\begin{Desc}
\item[Returns:]a dragobject encoding the current selection.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Drag\-Enabled()}{\rm (p.\,\pageref{classKListView_i4})} \end{Desc}


Reimplemented from {\bf QList\-View}.

Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 1099 of file klistview.cpp.

References QList\-View::current\-Item().

Referenced by start\-Drag().\index{KListView@{KList\-View}!acceptDrag@{acceptDrag}}
\index{acceptDrag@{acceptDrag}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::accept\-Drag ({\bf QDrop\-Event} $\ast$ {\em event}) const\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b18}


\begin{Desc}
\item[Returns:]true if the {\tt event} provides some acceptable format. A common mistake is to forget the \char`\"{}const\char`\"{} in your reimplementation \end{Desc}


Reimplemented in {\bf KFile\-Tree\-View}.

Definition at line 1313 of file klistview.cpp.

References items\-Movable(), and QDrop\-Event::source().

Referenced by contents\-Drag\-Enter\-Event(), contents\-Drag\-Move\-Event(), and contents\-Drop\-Event().\index{KListView@{KList\-View}!drawDropVisualizer@{drawDropVisualizer}}
\index{drawDropVisualizer@{drawDropVisualizer}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QRect} KList\-View::draw\-Drop\-Visualizer ({\bf QPainter} $\ast$ {\em p}, {\bf QList\-View\-Item} $\ast$ {\em parent}, {\bf QList\-View\-Item} $\ast$ {\em after})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b19}


Paint the drag line. 

If painter is null, don't try to :)

If after == 0 then the marker should be drawn at the top.

\begin{Desc}
\item[Returns:]the rectangle that you painted to. \end{Desc}


Definition at line 1205 of file klistview.cpp.

References QRect::bottom(), QList\-View\-Item::depth(), QPainter::fill\-Rect(), QList\-View\-Item::first\-Child(), QList\-View\-Item::is\-Open(), QList\-View::item\-Margin(), QList\-View::item\-Rect(), QList\-View\-Item::next\-Sibling(), QList\-View::root\-Is\-Decorated(), QRect::set\-Bottom(), QRect::set\-Left(), QRect::set\-Right(), QRect::set\-Top(), and QList\-View::tree\-Step\-Size().

Referenced by contents\-Drag\-Move\-Event().\index{KListView@{KList\-View}!drawItemHighlighter@{drawItemHighlighter}}
\index{drawItemHighlighter@{drawItemHighlighter}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QRect} KList\-View::draw\-Item\-Highlighter ({\bf QPainter} $\ast$ {\em painter}, {\bf QList\-View\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b20}


Paint the drag rectangle. 

If painter is null, don't try to :)

\begin{Desc}
\item[Returns:]the rectangle that you painted to. \end{Desc}


Definition at line 1252 of file klistview.cpp.

References QList\-View\-Item::depth(), QList\-View::item\-Rect(), QRect::left(), QRect::set\-Left(), and QList\-View::tree\-Step\-Size().

Referenced by contents\-Drag\-Move\-Event().\index{KListView@{KList\-View}!startDrag@{startDrag}}
\index{startDrag@{startDrag}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::start\-Drag ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b21}


This method calls {\bf drag\-Object}{\rm (p.\,\pageref{classKListView_b17})}() and starts the drag. 

Reimplement it to do fancy stuff like setting a pixmap or using a non-default Drag\-Mode 

Reimplemented from {\bf QList\-View}.

Definition at line 1088 of file klistview.cpp.

References QDrag\-Object::drag(), drag\-Object(), moved(), and QDrag\-Object::target().

Referenced by contents\-Mouse\-Move\-Event().\index{KListView@{KList\-View}!keyPressEvent@{keyPressEvent}}
\index{keyPressEvent@{keyPressEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::key\-Press\-Event ({\bf QKey\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b22}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Reimplemented in {\bf KFile\-Detail\-View}.

Definition at line 1369 of file klistview.cpp.

References QList\-View::current\-Item(), file\-Manager\-Key\-Press\-Event(), QKey\-Event::key(), and menu\-Short\-Cut\-Pressed().\index{KListView@{KList\-View}!viewportPaintEvent@{viewportPaintEvent}}
\index{viewportPaintEvent@{viewportPaintEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::viewport\-Paint\-Event ({\bf QPaint\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b23}


Reimplemented for internal reasons. 

Further reimplementations should call this function or else some features may not work correctly.

The API is unaffected. 

Definition at line 1837 of file klistview.cpp.

References QPainter::fill\-Rect(), and QPaint\-Event::rect().\index{KListView@{KList\-View}!activateAutomaticSelection@{activateAutomaticSelection}}
\index{activateAutomaticSelection@{activateAutomaticSelection}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::activate\-Automatic\-Selection ()\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b24}


In File\-Manager selection mode: explicitely activate the mode in which the current item is automatically selected. 



Definition at line 1384 of file klistview.cpp.

References QList\-View::current\-Item(), QList\-View::select\-All(), and QList\-View::selection\-Changed().\index{KListView@{KList\-View}!deactivateAutomaticSelection@{deactivateAutomaticSelection}}
\index{deactivateAutomaticSelection@{deactivateAutomaticSelection}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::deactivate\-Automatic\-Selection ()\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b25}


In File\-Manager selection mode: explicitely deactivate the mode in which the current item is automatically selected. 



Definition at line 1397 of file klistview.cpp.\index{KListView@{KList\-View}!automaticSelection@{automaticSelection}}
\index{automaticSelection@{automaticSelection}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::automatic\-Selection () const\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b26}


In File\-Manager selection mode: return whether it is currently in the mode where the current item is selected automatically. 

Returns false if items were selected explicitely, e.g. using the mouse. 

Definition at line 1402 of file klistview.cpp.\index{KListView@{KList\-View}!viewportResizeEvent@{viewportResizeEvent}}
\index{viewportResizeEvent@{viewportResizeEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::viewport\-Resize\-Event ({\bf QResize\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b27}


Reimplemented for {\bf set\-Full\-Width()}{\rm (p.\,\pageref{classKListView_a23})}. 



Definition at line 1910 of file klistview.cpp.\index{KListView@{KList\-View}!slotSettingsChanged@{slotSettingsChanged}}
\index{slotSettingsChanged@{slotSettingsChanged}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::slot\-Settings\-Changed (int)\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j0}


Update internal settings whenever the global ones change. 



Definition at line 489 of file klistview.cpp.

References KGlobal\-Settings::auto\-Select\-Delay(), KGlobal\-Settings::change\-Cursor\-Over\-Icon(), KGlobal\-Settings::context\-Menu\-Key(), KGlobal\-Settings::dnd\-Event\-Delay(), emit\-Context\-Menu(), QList\-View::mouse\-Button\-Clicked(), QList\-View::right\-Button\-Clicked(), QList\-View::right\-Button\-Pressed(), KGlobal\-Settings::show\-Context\-Menus\-On\-Press(), and KGlobal\-Settings::single\-Click().

Referenced by KList\-View().\index{KListView@{KList\-View}!cleanDropVisualizer@{cleanDropVisualizer}}
\index{cleanDropVisualizer@{cleanDropVisualizer}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::clean\-Drop\-Visualizer ()\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j3}


Repaint the rect where I was drawing the drop line. 



Definition at line 979 of file klistview.cpp.

Referenced by contents\-Drag\-Leave\-Event(), contents\-Drag\-Move\-Event(), contents\-Drop\-Event(), focus\-Out\-Event(), and KList\-View().\index{KListView@{KList\-View}!cleanItemHighlighter@{cleanItemHighlighter}}
\index{cleanItemHighlighter@{cleanItemHighlighter}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::clean\-Item\-Highlighter ()\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j4}


Repaint the rect where I was drawing the drop rectangle. 



Definition at line 1272 of file klistview.cpp.

Referenced by contents\-Drag\-Leave\-Event(), contents\-Drag\-Move\-Event(), contents\-Drop\-Event(), focus\-Out\-Event(), and KList\-View().\index{KListView@{KList\-View}!emitContextMenu@{emitContextMenu}}
\index{emitContextMenu@{emitContextMenu}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::emit\-Context\-Menu ({\bf QList\-View\-Item} $\ast$, const {\bf QPoint} \&, int)\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j5}


Emit the {\bf context\-Menu}{\rm (p.\,\pageref{classKListView_l14})} signal. 

This slot is for mouse actions. 

Definition at line 1820 of file klistview.cpp.

References context\-Menu().

Referenced by KList\-View(), and slot\-Settings\-Changed().\index{KListView@{KList\-View}!emitContextMenu@{emitContextMenu}}
\index{emitContextMenu@{emitContextMenu}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::emit\-Context\-Menu ({\bf KList\-View} $\ast$, {\bf QList\-View\-Item} $\ast$)\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j6}


Emit the {\bf context\-Menu}{\rm (p.\,\pageref{classKListView_l14})} signal. 

This slot is for key presses. 

Definition at line 1808 of file klistview.cpp.

References context\-Menu(), and QList\-View::item\-Rect().\index{KListView@{KList\-View}!slotOnItem@{slotOnItem}}
\index{slotOnItem@{slotOnItem}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::slot\-On\-Item ({\bf QList\-View\-Item} $\ast$ {\em item})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j7}


Accessory slot for Auto\-Select. 



Definition at line 471 of file klistview.cpp.

References is\-Execute\-Area(), QCursor::pos(), and QPoint::x().

Referenced by KList\-View().\index{KListView@{KList\-View}!slotOnViewport@{slotOnViewport}}
\index{slotOnViewport@{slotOnViewport}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::slot\-On\-Viewport ()\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j8}


Accessory slot for Auto\-Select/Change\-Cursor\-Over\-Item. 



Definition at line 480 of file klistview.cpp.

Referenced by KList\-View().\index{KListView@{KList\-View}!slotAutoSelect@{slotAutoSelect}}
\index{slotAutoSelect@{slotAutoSelect}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::slot\-Auto\-Select ()\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j9}


Process Auto\-Selection. 



Definition at line 537 of file klistview.cpp.

References QList\-View::clear\-Selection(), QList\-View\-Item\-Iterator::current(), QList\-View::current\-Item(), item\-Index(), QList\-View\-Item::item\-Pos(), QList\-View::selection\-Changed(), QList\-View::selection\-Mode(), QList\-View::set\-Current\-Item(), QList\-View::set\-Selected(), QList\-View\-Item::set\-Selected(), and QList\-View::trigger\-Update().

Referenced by KList\-View().\index{KListView@{KList\-View}!slotHeaderChanged@{slotHeaderChanged}}
\index{slotHeaderChanged@{slotHeaderChanged}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::slot\-Header\-Changed ()\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKListView_j10}


Reacts to header changes in full width mode. 



Definition at line 624 of file klistview.cpp.

References QList\-View::columns(), QList\-View::column\-Width(), and QList\-View::set\-Column\-Width().\index{KListView@{KList\-View}!movableDropEvent@{movableDropEvent}}
\index{movableDropEvent@{movableDropEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::movable\-Drop\-Event ({\bf QList\-View\-Item} $\ast$ {\em parent}, {\bf QList\-View\-Item} $\ast$ {\em afterme})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b28}


Handle drop\-Event when {\bf items\-Movable()}{\rm (p.\,\pageref{classKListView_a10})} is set to true. 



Definition at line 890 of file klistview.cpp.

References about\-To\-Move(), QPtr\-List::append(), QList\-View::clear\-Selection(), QList\-View::current\-Item(), QPtr\-List::first(), QList\-View::first\-Child(), QList\-View\-Item::is\-Selected(), QList\-View\-Item::item\-Above(), QList\-View\-Item::item\-Below(), moved(), move\-Item(), QPtr\-List::next(), QList\-View::set\-Current\-Item(), and QList\-View\-Item::set\-Selected().

Referenced by contents\-Drop\-Event().\index{KListView@{KList\-View}!findDrop@{findDrop}}
\index{findDrop@{findDrop}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::find\-Drop (const {\bf QPoint} \& {\em pos}, {\bf QList\-View\-Item} $\ast$\& {\em parent}, {\bf QList\-View\-Item} $\ast$\& {\em after})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKListView_b29}


Where is the nearest {\bf QList\-View\-Item} that I'm going to drop? 



Definition at line 994 of file klistview.cpp.

References QList\-View\-Item::child\-Count(), QList\-View\-Item::depth(), depth\-To\-Pixels(), QList\-View\-Item::first\-Child(), QList\-View\-Item::height(), QList\-View\-Item::is\-Expandable(), QList\-View\-Item::is\-Open(), QList\-View\-Item::item\-Above(), QList\-View::item\-At(), QList\-View::item\-Rect(), last\-Item(), QList\-View\-Item::next\-Sibling(), QList\-View\-Item::parent(), QPoint::x(), and QPoint::y().

Referenced by contents\-Drag\-Move\-Event(), and contents\-Drop\-Event().\index{KListView@{KList\-View}!fileManagerKeyPressEvent@{fileManagerKeyPressEvent}}
\index{fileManagerKeyPressEvent@{fileManagerKeyPressEvent}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::file\-Manager\-Key\-Press\-Event ({\bf QKey\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b30}


A special key\-Press\-Event (for File\-Manager selection mode). 



Definition at line 1407 of file klistview.cpp.

References QList\-View::current\-Item(), QList\-View::ensure\-Item\-Visible(), QList\-View::first\-Child(), QRect::is\-Empty(), QList\-View\-Item::is\-Selected(), QList\-View\-Item::item\-Above(), QList\-View\-Item::item\-Below(), QList\-View::item\-Rect(), QKey\-Event::key(), QRect::move\-By(), QList\-View\-Item::next\-Sibling(), QList\-View::select\-All(), selected\-Items(), QList\-View::selection\-Changed(), QList\-View::selection\-Mode(), QList\-View::set\-Current\-Item(), QList\-View::set\-Open(), QList\-View\-Item::set\-Selected(), QList\-View::set\-Selection\-Mode(), QKey\-Event::state(), QRect::unite(), and QRect::x().

Referenced by key\-Press\-Event().\index{KListView@{KList\-View}!depthToPixels@{depthToPixels}}
\index{depthToPixels@{depthToPixels}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KList\-View::depth\-To\-Pixels (int {\em depth})\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b31}


Convert the depth of an item into its indentation in pixels. 



Definition at line 989 of file klistview.cpp.

References QList\-View::item\-Margin(), QList\-View::root\-Is\-Decorated(), and QList\-View::tree\-Step\-Size().

Referenced by find\-Drop().

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