\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=155pt]{classKListView__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KList\-View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=48pt]{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}
 \}
\end{CompactItemize}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf rename} ({\bf QList\-View\-Item} $\ast$item, int c)
\item 
void {\bf set\-Renameable} (int column, bool yesno=true)
\item 
virtual void {\bf set\-Items\-Movable} (bool b)
\item 
virtual void {\bf set\-Items\-Renameable} (bool b)
\item 
virtual void {\bf set\-Drag\-Enabled} (bool b)
\item 
virtual void {\bf set\-Auto\-Open} (bool b)
\item 
virtual void {\bf set\-Drop\-Visualizer} (bool b)
\item 
void {\bf set\-Drop\-Visualizer\-Width} (int w)
\item 
virtual void {\bf set\-Tooltip\-Column} (int column)
\item 
virtual void {\bf set\-Drop\-Highlighter} (bool b)
\item 
virtual void {\bf set\-Create\-Children} (bool b) KDE\_\-DEPRECATED
\item 
void {\bf set\-Selection\-Mode\-Ext} ({\bf Selection\-Mode\-Ext} mode)
\item 
void {\bf set\-Tab\-Ordered\-Renaming} (bool b)
\item 
bool {\bf tab\-Ordered\-Renaming} () const 
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf executed} ({\bf QList\-View\-Item} $\ast$item)
\item 
void {\bf executed} ({\bf QList\-View\-Item} $\ast$item, const {\bf QPoint} \&pos, int c)
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$after)
\item 
void {\bf dropped} ({\bf KList\-View} $\ast$list, {\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$after)
\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)
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e, {\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$after)
\item 
void {\bf moved} ()
\item 
void {\bf about\-To\-Move} ()
\item 
void {\bf moved} ({\bf QList\-View\-Item} $\ast$item, {\bf QList\-View\-Item} $\ast$after\-First, {\bf QList\-View\-Item} $\ast$after\-Now)
\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)
\item 
void {\bf item\-Renamed} ({\bf QList\-View\-Item} $\ast$item, const {\bf QString} \&str, int col)
\item 
void {\bf item\-Renamed} ({\bf QList\-View\-Item} $\ast$item)
\item 
void {\bf menu\-Short\-Cut\-Pressed} ({\bf KList\-View} $\ast$list, {\bf QList\-View\-Item} $\ast$item)
\item 
void {\bf context\-Menu} ({\bf KList\-View} $\ast$l, {\bf QList\-View\-Item} $\ast$i, const {\bf QPoint} \&p)
\item 
void {\bf item\-Added} ({\bf QList\-View\-Item} $\ast$item)\label{classKListView_l14}

\item 
void {\bf item\-Removed} ({\bf QList\-View\-Item} $\ast$item)\label{classKListView_l15}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KList\-View} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)
\item 
virtual {\bf $\sim$KList\-View} ()
\item 
virtual void {\bf set\-Accept\-Drops} (bool)
\item 
virtual bool {\bf is\-Execute\-Area} (const {\bf QPoint} \&point)
\item 
bool {\bf is\-Execute\-Area} (int x)
\item 
{\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ {\bf selected\-Items} () const 
\item 
{\bf QPtr\-List}$<$ {\bf QList\-View\-Item} $>$ {\bf selected\-Items} (bool include\-Hidden\-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)
\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 KDE\_\-DEPRECATED
\item 
bool {\bf drop\-Highlighter} () const 
\item 
int {\bf drop\-Visualizer\-Width} () const 
\item 
{\bf Selection\-Mode\-Ext} {\bf selection\-Mode\-Ext} () const 
\item 
int {\bf item\-Index} (const {\bf QList\-View\-Item} $\ast$item) const 
\item 
{\bf QList\-View\-Item} $\ast$ {\bf item\-At\-Index} (int index)
\item 
void {\bf set\-Full\-Width} () KDE\_\-DEPRECATED
\item 
void {\bf set\-Full\-Width} (bool full\-Width)
\item 
bool {\bf full\-Width} () const 
\item 
virtual int {\bf add\-Column} (const {\bf QString} \&label, int width=-1)
\item 
virtual int {\bf add\-Column} (const {\bf QIcon\-Set} \&iconset, const {\bf QString} \&label, int width=-1)
\item 
virtual void {\bf remove\-Column} (int index)
\item 
void {\bf set\-Alternate\-Background} (const {\bf QColor} \&c)
\item 
const {\bf QColor} \& {\bf alternate\-Background} () const 
\item 
void {\bf save\-Layout} ({\bf KConfig} $\ast$config, const {\bf QString} \&group) const 
\item 
void {\bf restore\-Layout} ({\bf KConfig} $\ast$config, const {\bf QString} \&group)
\item 
virtual void {\bf set\-Sorting} (int column, bool ascending=true)
\item 
int {\bf column\-Sorted} (void) const 
\item 
bool {\bf ascending\-Sort} (void) const 
\item 
virtual void {\bf take\-Item} ({\bf QList\-View\-Item} $\ast$i)
\item 
void {\bf set\-Shade\-Sort\-Column} (bool shade\-Sort\-Column)
\item 
bool {\bf shade\-Sort\-Column} (void) const 
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Settings\-Changed} (int)
\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} ()
\item 
void {\bf clean\-Item\-Highlighter} ()
\item 
void {\bf emit\-Context\-Menu} ({\bf QList\-View\-Item} $\ast$, const {\bf QPoint} \&, int)
\item 
void {\bf emit\-Context\-Menu} ({\bf KList\-View} $\ast$, {\bf QList\-View\-Item} $\ast$)
\item 
void {\bf slot\-On\-Item} ({\bf QList\-View\-Item} $\ast$item)
\item 
void {\bf slot\-On\-Viewport} ()
\item 
void {\bf slot\-Auto\-Select} ()
\item 
void {\bf slot\-Drag\-Expand} ()\label{classKListView_j10}

\item 
void {\bf slot\-Header\-Changed} ()
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
bool {\bf below} (const {\bf QRect} \&rect, const {\bf QPoint} \&p)
\item 
bool {\bf below} ({\bf QList\-View\-Item} $\ast$i, const {\bf QPoint} \&p)
\item 
virtual bool {\bf event} ({\bf QEvent} $\ast$)
\item 
void {\bf emit\-Execute} ({\bf QList\-View\-Item} $\ast$item, const {\bf QPoint} \&pos, int c)
\item 
virtual void {\bf focus\-In\-Event} ({\bf QFocus\-Event} $\ast$fe)
\item 
virtual void {\bf focus\-Out\-Event} ({\bf QFocus\-Event} $\ast$fe)
\item 
virtual void {\bf leave\-Event} ({\bf QEvent} $\ast$e)
\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)
\item 
virtual void {\bf contents\-Mouse\-Press\-Event} ({\bf QMouse\-Event} $\ast$e)
\item 
virtual void {\bf contents\-Mouse\-Move\-Event} ({\bf QMouse\-Event} $\ast$e)
\item 
virtual void {\bf contents\-Mouse\-Double\-Click\-Event} ({\bf QMouse\-Event} $\ast$e)
\item 
virtual void {\bf contents\-Drag\-Leave\-Event} ({\bf QDrag\-Leave\-Event} $\ast$event)
\item 
virtual void {\bf contents\-Mouse\-Release\-Event} ({\bf QMouse\-Event} $\ast$)
\item 
virtual void {\bf contents\-Drop\-Event} ({\bf QDrop\-Event} $\ast$)
\item 
virtual void {\bf contents\-Drag\-Enter\-Event} ({\bf QDrag\-Enter\-Event} $\ast$)
\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)
\item 
virtual {\bf QRect} {\bf draw\-Item\-Highlighter} ({\bf QPainter} $\ast$painter, {\bf QList\-View\-Item} $\ast$item)
\item 
virtual void {\bf start\-Drag} ()
\item 
virtual void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\item 
virtual void {\bf viewport\-Paint\-Event} ({\bf QPaint\-Event} $\ast$)
\item 
void {\bf activate\-Automatic\-Selection} ()
\item 
void {\bf deactivate\-Automatic\-Selection} ()
\item 
bool {\bf automatic\-Selection} () const 
\item 
virtual void {\bf viewport\-Resize\-Event} ({\bf QResize\-Event} $\ast$e)
\item 
void {\bf disable\-Auto\-Selection} ()
\item 
void {\bf reset\-Auto\-Selection} ()
\item 
void {\bf double\-Clicked} ({\bf QList\-View\-Item} $\ast$item, const {\bf QPoint} \&pos, int c)
\item 
virtual void {\bf movable\-Drop\-Event} ({\bf QList\-View\-Item} $\ast$parent, {\bf QList\-View\-Item} $\ast$afterme)
\item 
virtual void {\bf find\-Drop} (const {\bf QPoint} \&pos, {\bf QList\-View\-Item} $\ast$\&parent, {\bf QList\-View\-Item} $\ast$\&after)
\item 
void {\bf file\-Manager\-Key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\item 
int {\bf depth\-To\-Pixels} (int depth)
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKListView_b35}

\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
bool {\bf full\-Width}\label{classKListView_00}

\item 
bool {\bf items\-Movable}\label{classKListView_01}

\item 
bool {\bf items\-Renameable}\label{classKListView_02}

\item 
bool {\bf drag\-Enabled}\label{classKListView_03}

\item 
bool {\bf auto\-Open}\label{classKListView_04}

\item 
bool {\bf drop\-Visualizer}\label{classKListView_05}

\item 
int {\bf tooltip\-Column}\label{classKListView_06}

\item 
int {\bf drop\-Visualizer\-Width}\label{classKListView_07}

\item 
{\bf QColor} {\bf alternate\-Background}\label{classKListView_08}

\item 
bool {\bf shade\-Sort\-Column}\label{classKListView_09}

\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_l2})}, just set\-Accept\-Drops(true) and connect it to a suitable slot. To see where you are dropping, set\-Drop\-Visualizer(true). And also you'll need accept\-Drag(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 set\-Drag\-Enabled(true). 



Definition at line 53 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 explicitly.

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

Definition at line 104 of file klistview.h.

\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} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKListView_a0}


Constructor. 

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

Definition at line 410 of file klistview.cpp.

References KGlobal\-Settings::alternate\-Background\-Color(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), emit\-Context\-Menu(), menu\-Short\-Cut\-Pressed(), QList\-View::on\-Item(), QList\-View::on\-Viewport(), 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 455 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 1893 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 460 of file klistview.cpp.

References QList\-View::item\-At().

Referenced by contents\-Drag\-Move\-Event(), contents\-Mouse\-Move\-Event(), emit\-Execute(), is\-Execute\-Area(), 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 470 of file klistview.cpp.

References is\-Execute\-Area().\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}


\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 1205 of file klistview.cpp.

Referenced by file\-Manager\-Key\-Press\-Event().\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 (bool {\em include\-Hidden\-Items}) const}\label{classKListView_a6}


\begin{Desc}
\item[Returns:]a list containing the currently selected items.\end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em include\-Hidden\-Items}]Set to true to return all items regardless of visibility. Set to false to only return items that are is\-Visible().\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]a list of all selected listview items\end{Desc}
\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 1210 of file klistview.cpp.

References QPtr\-List::append(), QList\-View\-Item\-Iterator::current(), QList\-View::selected\-Item(), and QList\-View::selection\-Mode().\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_a7}


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

If after is 0, {\tt item} is made the first child of {\tt parent}.

(Un-deprecated in kde-3.4) 

Definition at line 1247 of file klistview.cpp.

References QList\-View::insert\-Item(), QList\-View\-Item::insert\-Item(), QList\-View\-Item::move\-Item(), QList\-View\-Item::parent(), take\-Item(), and QList\-View\-Item::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_a8}


\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_a9})} \end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 1119 of file klistview.cpp.

References 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_a9}


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


Definition at line 1109 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_a10}


\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}
\begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 1129 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_a11}


\begin{Desc}
\item[Returns:]if it is legal to move items in the list view. True by default.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Drag\-Enabled()}{\rm (p.\,\pageref{classKListView_i4})} 

{\bf set\-Items\-Movable()}{\rm (p.\,\pageref{classKListView_i2})} \end{Desc}


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_a12}


\begin{Desc}
\item[Returns:]whether inplace-renaming has been enabled. False by default.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Items\-Renameable()}{\rm (p.\,\pageref{classKListView_i3})} \end{Desc}
\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_a13}


\begin{Desc}
\item[Returns:]whether dragging is enabled. False by default.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Drag\-Enabled()}{\rm (p.\,\pageref{classKListView_i4})} \end{Desc}


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_a14}


\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}
\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_a15}


\begin{Desc}
\item[Returns:]true if {\tt column} is renamable.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Renameable()}{\rm (p.\,\pageref{classKListView_i1})} \end{Desc}


Definition at line 1370 of file klistview.cpp.

References QRect::contains().\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_a16}


\begin{Desc}
\item[Returns:]true if drawing of the drop-visualizer has been enabled. True by default.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Drop\-Visualizer()}{\rm (p.\,\pageref{classKListView_i6})} \end{Desc}


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_a17}


\begin{Desc}
\item[Returns:]the column for which tooltips are displayed (or -1 if none set).\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Tooltip\-Column()}{\rm (p.\,\pageref{classKListView_i8})} \end{Desc}


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_a18}


For future expansions. 

Do not use. 

\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 1400 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_a19}


\begin{Desc}
\item[Returns:]true if drawing of the drop-highlighter has been enabled. False by default.\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Drop\-Highlighter()}{\rm (p.\,\pageref{classKListView_i9})} \end{Desc}


Definition at line 1421 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_a20}


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

\begin{Desc}
\item[See also:]{\bf set\-Drop\-Visualizer\-Width()}{\rm (p.\,\pageref{classKListView_i7})} \end{Desc}
\begin{Desc}
\item[Returns:]the current width of the drop-visualizer. \end{Desc}
\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_a21}


\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 1836 of file klistview.cpp.

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_a22}


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 1841 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_a23}


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 1860 of file klistview.cpp.

References 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_a24}


\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Full\-Width()}{\rm (p.\,\pageref{classKListView_a24})} \end{Desc}


Definition at line 1932 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_a25}


Let the last column fit exactly all the available width. 

\begin{Desc}
\item[See also:]{\bf full\-Width()}{\rm (p.\,\pageref{classKListView_a26})} \end{Desc}


Definition at line 1937 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_a26}


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

\begin{Desc}
\item[See also:]{\bf set\-Full\-Width()}{\rm (p.\,\pageref{classKListView_a24})} \end{Desc}
\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} = {\tt -1})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a27}


Reimplemented for full width support. 

\begin{Desc}
\item[See also:]{\bf remove\-Column()}{\rm (p.\,\pageref{classKListView_a29})} \end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 1948 of file klistview.cpp.

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

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} = {\tt -1})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a28}


Reimplemented for full width support. 



Reimplemented from {\bf QList\-View}.

Definition at line 1958 of file klistview.cpp.

References QList\-View::add\-Column(), QList\-View::columns(), and QList\-View::header().\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_a29}


Reimplemented for full width support. 

\begin{Desc}
\item[See also:]{\bf add\-Column()}{\rm (p.\,\pageref{classKListView_a27})} \end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 1968 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_a30}


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 color to disable alternate colors.\end{description}
\end{Desc}
\begin{Desc}
\item[See also:]{\bf alternate\-Background()}{\rm (p.\,\pageref{classKListView_a31})} \end{Desc}


Definition at line 1984 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_a31}


\begin{Desc}
\item[Returns:]the alternate background color\end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Alternate\-Background()}{\rm (p.\,\pageref{classKListView_a30})} \end{Desc}
\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_a32}


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 2001 of file klistview.cpp.

References QList\-View::columns(), QList\-View::column\-Width(), QList\-View::header(), QHeader::map\-To\-Index(), and QString::number().\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_a33}


Reads the list view's layout from a {\bf KConfig} group as stored with save\-Layout. 

\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 2019 of file klistview.cpp.

References QList\-View::columns(), QList\-View::header(), 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} = {\tt true})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a34}


Reimplemented to remember the current sort column and order. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em column}]is the column to be sorted, or -1 to sort in order of insertion \item[{\em ascending}]whether to sort ascending (or descending) \end{description}
\end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 2054 of file klistview.cpp.

References QList\-View::ensure\-Item\-Visible(), QList\-View::first\-Child(), QList\-View\-Item::is\-Selected(), QList\-View\-Item::is\-Visible(), QList\-View\-Item::item\-Below(), KList\-View\-Item::m\_\-known, QList\-View::selected\-Item(), QList\-View::selection\-Mode(), and 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_a35}


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


Definition at line 2087 of file klistview.cpp.

Referenced by KList\-View\-Item::background\-Color().\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_a36}


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


Definition at line 2092 of file klistview.cpp.\index{KListView@{KList\-View}!takeItem@{takeItem}}
\index{takeItem@{takeItem}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::take\-Item ({\bf QList\-View\-Item} $\ast$ {\em i})\hspace{0.3cm}{\tt  [virtual]}}\label{classKListView_a37}


Reimplemented for internal reasons. 



Reimplemented from {\bf QList\-View}.

Definition at line 2097 of file klistview.cpp.

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

Referenced by move\-Item().\index{KListView@{KList\-View}!setShadeSortColumn@{setShadeSortColumn}}
\index{setShadeSortColumn@{setShadeSortColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::set\-Shade\-Sort\-Column (bool {\em shade\-Sort\-Column})}\label{classKListView_a38}


Set to true if the currently sorted column should be drawn shaded. 

Defaults to true \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em shade\-Sort\-Column}]True if sort column should be shaded.\end{description}
\end{Desc}
\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 1990 of file klistview.cpp.\index{KListView@{KList\-View}!shadeSortColumn@{shadeSortColumn}}
\index{shadeSortColumn@{shadeSortColumn}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KList\-View::shade\-Sort\-Column (void) const}\label{classKListView_a39}


See if the sort column should be drawn shaded. 

\begin{Desc}
\item[Returns:]true if the sort column should be shaded\end{Desc}
\begin{Desc}
\item[Since:]3.4 \end{Desc}
\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}!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_l2}


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 occurred (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_l3}


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 occurred (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_l4}


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 occurred (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_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 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 occurred (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_l6}


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_l7}


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 \begin{Desc}
\item[See also:]{\bf move\-Item()}{\rm (p.\,\pageref{classKListView_a7})} \end{Desc}


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_l8}


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_l6})}, so be careful. All the items will have been moved before {\bf moved()}{\rm (p.\,\pageref{classKListView_l6})} 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_l9}


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_l10}


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_l11}


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_l12}


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 context\-Menu (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_l13}


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 1361 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} = {\tt 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 1375 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_a11})} \end{Desc}


Definition at line 1154 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_a12})} 

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


Definition at line 1164 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 1175 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 1185 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 1200 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 1283 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 1411 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 1416 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. 

\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 1395 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 1813 of file klistview.cpp.

References endl(), kd\-Warning(), and 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 1436 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 1441 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 671 of file klistview.h.\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 685 of file klistview.h.

References 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 738 of file klistview.cpp.

References KGlobal\-Settings::alternate\-Background\-Color().

Referenced by contents\-Drag\-Enter\-Event(), and contents\-Drag\-Move\-Event().\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 executed. 



Definition at line 665 of file klistview.cpp.

References executed(), is\-Execute\-Area(), and KApplication::keyboard\-Mouse\-State().

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 693 of file klistview.cpp.

References QList\-View::current\-Item(), 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 709 of file klistview.cpp.

References clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), QList\-View::current\-Item(), 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 731 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 1431 of file klistview.cpp.

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 1426 of file klistview.cpp.

References 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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 968 of file klistview.cpp.

References accept\-Drag(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), draw\-Drop\-Visualizer(), draw\-Item\-Highlighter(), drop\-Highlighter(), drop\-Visualizer(), event(), find\-Drop(), is\-Execute\-Area(), and QList\-View::item\-At().\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 746 of file klistview.cpp.

References 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(), QList\-View::root\-Is\-Decorated(), selection\-Mode\-Ext(), and QList\-View::tree\-Step\-Size().\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 793 of file klistview.cpp.

References QList\-View::contents\-Mouse\-Move\-Event(), QList\-View::contents\-Mouse\-Release\-Event(), drag\-Enabled(), is\-Execute\-Area(), QList\-View::item\-At(), 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 866 of file klistview.cpp.

References double\-Clicked(), QList\-View::double\-Clicked(), emit\-Execute(), QList\-View::header(), QList\-View::item\-At(), 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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 1018 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 833 of file klistview.cpp.

References QList\-View::contents\-Mouse\-Release\-Event(), QList\-View\-Item::depth(), QList\-View::header(), QList\-View::item\-At(), QList\-View::item\-Margin(), rename(), QList\-View::root\-Is\-Decorated(), and QList\-View::tree\-Step\-Size().\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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 892 of file klistview.cpp.

References accept\-Drag(), clean\-Drop\-Visualizer(), clean\-Item\-Highlighter(), dropped(), find\-Drop(), items\-Movable(), and movable\-Drop\-Event().\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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 1277 of file klistview.cpp.

References accept\-Drag(), and 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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 1145 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\-Detail\-View}, and {\bf KFile\-Tree\-View}.

Definition at line 1390 of file klistview.cpp.

References items\-Movable().

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 1288 of file klistview.cpp.

References QRect::bottom(), QList\-View\-Item::first\-Child(), 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 1335 of file klistview.cpp.

References QList\-View::item\-Rect(), QRect::left(), QList\-View::root\-Is\-Decorated(), 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 1134 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 1446 of file klistview.cpp.

References QList\-View::current\-Item(), file\-Manager\-Key\-Press\-Event(), 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 1905 of file klistview.cpp.

References QPainter::fill\-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: explicitly activate the mode in which the current item is automatically selected. 



Definition at line 1461 of file klistview.cpp.

References QList\-View::current\-Item(), 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: explicitly deactivate the mode in which the current item is automatically selected. 



Definition at line 1473 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 explicitly, e.g. using the mouse. 

Definition at line 1478 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_a24})}. 



Definition at line 1974 of file klistview.cpp.\index{KListView@{KList\-View}!disableAutoSelection@{disableAutoSelection}}
\index{disableAutoSelection@{disableAutoSelection}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::disable\-Auto\-Selection ()\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b28}


Disable Auto\-Selection. 

This overrides the system wide setting for Auto\-Selection. Please don't call this unless you have good reasons to override the system wide setting for Auto\-Selection. \begin{Desc}
\item[See also:]{\bf reset\-Auto\-Selection()}{\rm (p.\,\pageref{classKListView_b29})} \end{Desc}
\begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 2105 of file klistview.cpp.\index{KListView@{KList\-View}!resetAutoSelection@{resetAutoSelection}}
\index{resetAutoSelection@{resetAutoSelection}!KListView@{KList\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KList\-View::reset\-Auto\-Selection ()\hspace{0.3cm}{\tt  [protected]}}\label{classKListView_b29}


Reset Auto\-Selection to the system wide setting. 

\begin{Desc}
\item[See also:]{\bf disable\-Auto\-Selection()}{\rm (p.\,\pageref{classKListView_b28})} \end{Desc}
\begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 2115 of file klistview.cpp.

References KGlobal\-Settings::auto\-Select\-Delay().\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  [protected]}}\label{classKListView_b30}


\begin{Desc}
\item[{\bf Deprecated}]This is just here for binary compatibility. Use the signal in {\bf QList\-View} instead. \end{Desc}


Reimplemented from {\bf QList\-View}.

Definition at line 2124 of file klistview.cpp.

References QList\-View::double\-Clicked().

Referenced by contents\-Mouse\-Double\-Click\-Event().\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 527 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(), 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 1025 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 1351 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 context\-Menu signal. 

This slot is for mouse actions. 

Definition at line 1888 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 context\-Menu signal. 

This slot is for key presses. 

Definition at line 1876 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 509 of file klistview.cpp.

References is\-Execute\-Area(), 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 518 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 576 of file klistview.cpp.

References QList\-View::clear\-Selection(), QList\-View::current\-Item(), endl(), item\-Index(), QList\-View\-Item::item\-Pos(), kd\-Debug(), KApplication::keyboard\-Mouse\-State(), 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_j11}


Reacts to header changes in full width mode. 



Definition at line 652 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_b31}


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



Definition at line 918 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::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_b32}


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

FIXME {\bf KDE} 4.0: Make this method const so it can be called from an accept\-Drag method without ugly casts 

Definition at line 1040 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_b33}


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



Definition at line 1483 of file klistview.cpp.

References QList\-View\-Item::child\-Count(), QList\-View::current\-Item(), QList\-View::ensure\-Item\-Visible(), QList\-View::first\-Child(), QList\-View\-Item::height(), QRect::is\-Empty(), QList\-View\-Item::is\-Expandable(), QList\-View\-Item::is\-Open(), QList\-View\-Item::is\-Selected(), QList\-View\-Item::item\-Above(), QList\-View\-Item::item\-Below(), QList\-View::item\-Rect(), QRect::move\-By(), 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(), 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_b34}


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



Definition at line 1035 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}
