\section{KFile\-Icon\-View Class Reference}
\label{classKFileIconView}\index{KFileIconView@{KFileIconView}}
An icon-view capable of showing KFile\-Item's.  


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

Inheritance diagram for KFile\-Icon\-View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=89pt]{classKFileIconView__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KFile\-Icon\-View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=157pt]{classKFileIconView__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf show\-Previews} ()
\item 
void {\bf zoom\-In} ()\label{classKFileIconView_i1}

\item 
void {\bf zoom\-Out} ()\label{classKFileIconView_i2}

\item 
virtual void {\bf arrange\-Items\-In\-Grid} (bool updated=true)
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$event, {\bf KFile\-Item} $\ast$file\-Item)
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$event, const {\bf KURL::List} \&urls, const {\bf KURL} \&url)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KFile\-Icon\-View} ({\bf QWidget} $\ast$parent, const char $\ast$name)\label{classKFileIconView_a0}

\item 
virtual {\bf QWidget} $\ast$ {\bf widget} ()
\item 
virtual void {\bf clear\-View} ()
\item 
virtual void {\bf set\-Auto\-Update} (bool)\label{classKFileIconView_a4}

\item 
virtual void {\bf update\-View} (bool)
\item 
virtual void {\bf update\-View} (const {\bf KFile\-Item} $\ast$)\label{classKFileIconView_a6}

\item 
virtual void {\bf remove\-Item} (const {\bf KFile\-Item} $\ast$)
\item 
virtual void {\bf listing\-Completed} ()
\item 
virtual void {\bf insert\-Item} ({\bf KFile\-Item} $\ast$i)
\item 
virtual void {\bf set\-Selection\-Mode} (KFile::Selection\-Mode sm)\label{classKFileIconView_a10}

\item 
virtual void {\bf set\-Selected} (const {\bf KFile\-Item} $\ast$, bool)
\item 
virtual bool {\bf is\-Selected} (const {\bf KFile\-Item} $\ast$i) const 
\item 
virtual void {\bf clear\-Selection} ()
\item 
virtual void {\bf select\-All} ()
\item 
virtual void {\bf invert\-Selection} ()
\item 
virtual void {\bf set\-Current\-Item} (const {\bf KFile\-Item} $\ast$)
\item 
virtual {\bf KFile\-Item} $\ast$ {\bf current\-File\-Item} () const 
\item 
virtual {\bf KFile\-Item} $\ast$ {\bf first\-File\-Item} () const \label{classKFileIconView_a18}

\item 
virtual {\bf KFile\-Item} $\ast$ {\bf next\-Item} (const {\bf KFile\-Item} $\ast$) const \label{classKFileIconView_a19}

\item 
virtual {\bf KFile\-Item} $\ast$ {\bf prev\-Item} (const {\bf KFile\-Item} $\ast$) const \label{classKFileIconView_a20}

\item 
void {\bf set\-Icon\-Size} (int size)
\item 
void {\bf set\-Preview\-Size} (int size)
\item 
void {\bf set\-Ignore\-Maximum\-Size} (bool ignore\-Size=true)
\item 
int {\bf icon\-Size} () const 
\item 
void {\bf ensure\-Item\-Visible} (const {\bf KFile\-Item} $\ast$)
\item 
virtual void {\bf set\-Sorting} (QDir::Sort\-Spec {\bf sort})
\item 
virtual void {\bf read\-Config} ({\bf KConfig} $\ast$, const {\bf QString} \&group=QString::null)\label{classKFileIconView_a27}

\item 
virtual void {\bf write\-Config} ({\bf KConfig} $\ast$, const {\bf QString} \&group=QString::null)\label{classKFileIconView_a28}

\item 
void {\bf mime\-Type\-Determination\-Finished} ()\label{classKFileIconView_a29}

\item 
void {\bf determine\-Icon} ({\bf KFile\-Icon\-View\-Item} $\ast$item)\label{classKFileIconView_a30}

\item 
{\bf QScroll\-View} $\ast$ {\bf scroll\-Widget} () const \label{classKFileIconView_a31}

\item 
void {\bf set\-Accept\-Drops} (bool b)\label{classKFileIconView_a32}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$)
\item 
virtual void {\bf hide\-Event} ({\bf QHide\-Event} $\ast$)
\item 
virtual void {\bf show\-Event} ({\bf QShow\-Event} $\ast$)\label{classKFileIconView_b2}

\item 
virtual bool {\bf event\-Filter} ({\bf QObject} $\ast$o, {\bf QEvent} $\ast$e)\label{classKFileIconView_b3}

\item 
virtual {\bf QDrag\-Object} $\ast$ {\bf drag\-Object} ()\label{classKFileIconView_b4}

\item 
virtual void {\bf contents\-Drag\-Enter\-Event} ({\bf QDrag\-Enter\-Event} $\ast$e)\label{classKFileIconView_b5}

\item 
virtual void {\bf contents\-Drag\-Move\-Event} ({\bf QDrag\-Move\-Event} $\ast$e)\label{classKFileIconView_b6}

\item 
virtual void {\bf contents\-Drag\-Leave\-Event} ({\bf QDrag\-Leave\-Event} $\ast$e)\label{classKFileIconView_b7}

\item 
virtual void {\bf contents\-Drop\-Event} ({\bf QDrop\-Event} $\ast$ev)\label{classKFileIconView_b8}

\item 
bool {\bf accept\-Drag} ({\bf QDrop\-Event} $\ast$e) const \label{classKFileIconView_b9}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKFileIconView_b10}

\end{CompactItemize}


\subsection{Detailed Description}
An icon-view capable of showing KFile\-Item's. 

Used in the filedialog for example. Most of the documentation is in {\bf KFile\-View}{\rm (p.\,\pageref{classKFileView})} class.

\begin{Desc}
\item[See also:]{\bf KDir\-Operator}{\rm (p.\,\pageref{classKDirOperator})} 

{\bf KCombi\-View}{\rm (p.\,\pageref{classKCombiView})} 

{\bf KFile\-Detail\-View}{\rm (p.\,\pageref{classKFileDetailView})} \end{Desc}




Definition at line 81 of file kfileiconview.h.

\subsection{Member Function Documentation}
\index{KFileIconView@{KFile\-Icon\-View}!widget@{widget}}
\index{widget@{widget}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf QWidget}$\ast$ KFile\-Icon\-View::widget ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classKFileIconView_a2}


a pure virtual function to get a {\bf QWidget}, that can be added to other widgets. 

This function is needed to make it possible for derived classes to derive from other widgets. 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a3})}.

Definition at line 89 of file kfileiconview.h.\index{KFileIconView@{KFile\-Icon\-View}!clearView@{clearView}}
\index{clearView@{clearView}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::clear\-View ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a3}


pure virtual function, that should be implemented to clear the view. 

At this moment the list is already empty 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a28})}.

Definition at line 327 of file kfileiconview.cpp.

References QIcon\-View::clear(), QPtr\-List::clear(), and KMime\-Type\-Resolver$<$ Icon\-Item, Parent $>$::m\_\-lst\-Pending\-Mime\-Icon\-Items.

Referenced by KCombi\-View::clear\-View().\index{KFileIconView@{KFile\-Icon\-View}!updateView@{updateView}}
\index{updateView@{updateView}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::update\-View (bool)\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a5}


does a repaint of the view. 

The default implementation calls 

\footnotesize\begin{verbatim} widget()->repaint(f)
\end{verbatim}
\normalsize
 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a9})}.

Definition at line 435 of file kfileiconview.cpp.

References KFile\-Icon\-View\-Item::file\-Info(), QIcon\-View::first\-Item(), QSize::is\-Null(), QIcon\-View\-Item::next\-Item(), KIcon\-View\-Item::pixmap\-Size(), QIcon\-View\-Item::set\-Pixmap(), and KIcon\-View\-Item::set\-Pixmap\-Size().

Referenced by KCombi\-View::update\-View().\index{KFileIconView@{KFile\-Icon\-View}!removeItem@{removeItem}}
\index{removeItem@{removeItem}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::remove\-Item (const {\bf KFile\-Item} $\ast$)\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a7}


Removes an item from the list; has to be implemented by the view. 

Call KFile\-View::remove\-Item( item ) after removing it. 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a11})}.

Definition at line 466 of file kfileiconview.cpp.

References KMime\-Type\-Resolver$<$ Icon\-Item, Parent $>$::m\_\-lst\-Pending\-Mime\-Icon\-Items, QPtr\-List::remove(), and KFile\-View::remove\-Item().

Referenced by KCombi\-View::remove\-Item().\index{KFileIconView@{KFile\-Icon\-View}!listingCompleted@{listingCompleted}}
\index{listingCompleted@{listingCompleted}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::listing\-Completed ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a8}


This hook is called when all items of the currently listed directory are listed and inserted into the view, i.e. 

there won't come any new items anymore. 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a12})}.

Definition at line 717 of file kfileiconview.cpp.

References arrange\-Items\-In\-Grid(), QIcon\-View::current\-Item(), QIcon\-View::set\-Current\-Item(), QIcon\-View::set\-Selected(), and KMime\-Type\-Resolver$<$ Icon\-Item, Parent $>$::start().

Referenced by KCombi\-View::listing\-Completed().\index{KFileIconView@{KFile\-Icon\-View}!insertItem@{insertItem}}
\index{insertItem@{insertItem}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::insert\-Item ({\bf KFile\-Item} $\ast$ {\em i})\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a9}


The derived view must implement this function to add the file in the widget. 

Make sure to call this implementation, i.e. KFile\-View::insert\-Item( i ); 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a27})}.

Definition at line 335 of file kfileiconview.cpp.

References QPtr\-List::append(), KFile\-View::insert\-Item(), and KMime\-Type\-Resolver$<$ Icon\-Item, Parent $>$::m\_\-lst\-Pending\-Mime\-Icon\-Items.

Referenced by KCombi\-View::insert\-Item().\index{KFileIconView@{KFile\-Icon\-View}!setSelected@{setSelected}}
\index{setSelected@{setSelected}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Selected (const {\bf KFile\-Item} $\ast$, bool)\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a11}


Tells the view that it should highlight the item. 

This function must be implemented by the view. 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a33})}.

Definition at line 301 of file kfileiconview.cpp.

References QIcon\-View::set\-Selected().

Referenced by KCombi\-View::set\-Selected().\index{KFileIconView@{KFile\-Icon\-View}!isSelected@{isSelected}}
\index{isSelected@{isSelected}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Icon\-View::is\-Selected (const {\bf KFile\-Item} $\ast$ {\em i}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a12}


\begin{Desc}
\item[Returns:]whether the given item is currently selected. Must be implemented by the view. \end{Desc}


Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a34})}.

Definition at line 429 of file kfileiconview.cpp.

References QIcon\-View\-Item::is\-Selected().

Referenced by KCombi\-View::is\-Selected().\index{KFileIconView@{KFile\-Icon\-View}!clearSelection@{clearSelection}}
\index{clearSelection@{clearSelection}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::clear\-Selection ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a13}


Clears any selection, unhighlights everything. 

Must be implemented by the view. 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a30})}.

Definition at line 317 of file kfileiconview.cpp.

References QIcon\-View::clear\-Selection().

Referenced by KCombi\-View::clear\-Selection().\index{KFileIconView@{KFile\-Icon\-View}!selectAll@{selectAll}}
\index{selectAll@{selectAll}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::select\-All ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a14}


Selects all items. 

You may want to override this, if you can implement it more efficiently than calling {\bf set\-Selected()}{\rm (p.\,\pageref{classKFileIconView_a11})} with every item. This works only in Multiselection mode of course. 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a31})}.

Definition at line 308 of file kfileiconview.cpp.

References QIcon\-View::select\-All().

Referenced by KCombi\-View::select\-All().\index{KFileIconView@{KFile\-Icon\-View}!invertSelection@{invertSelection}}
\index{invertSelection@{invertSelection}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::invert\-Selection ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a15}


Inverts the current selection, i.e. 

selects all items, that were up to now not selected and deselects the other. 

Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a32})}.

Definition at line 322 of file kfileiconview.cpp.

References QIcon\-View::invert\-Selection().

Referenced by KCombi\-View::invert\-Selection().\index{KFileIconView@{KFile\-Icon\-View}!setCurrentItem@{setCurrentItem}}
\index{setCurrentItem@{setCurrentItem}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Current\-Item (const {\bf KFile\-Item} $\ast$)\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a16}


Reimplement this to set {\tt item} the current item in the view, e.g. 

the item having focus. 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a6})}.

Definition at line 374 of file kfileiconview.cpp.

References QIcon\-View::set\-Current\-Item().

Referenced by KCombi\-View::set\-Current\-Item().\index{KFileIconView@{KFile\-Icon\-View}!currentFileItem@{currentFileItem}}
\index{currentFileItem@{currentFileItem}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KFile\-Item} $\ast$ KFile\-Icon\-View::current\-File\-Item () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a17}


\begin{Desc}
\item[Returns:]the \char`\"{}current\char`\"{} {\bf KFile\-Item}{\rm (p.\,\pageref{classKFileItem})}, e.g. where the cursor is. Returns 0L when there is no current item (e.g. in an empty view). Subclasses have to implement this. \end{Desc}


Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a7})}.

Definition at line 381 of file kfileiconview.cpp.

References QIcon\-View::current\-Item(), and KFile\-Icon\-View\-Item::file\-Info().

Referenced by KCombi\-View::current\-File\-Item().\index{KFileIconView@{KFile\-Icon\-View}!setIconSize@{setIconSize}}
\index{setIconSize@{setIconSize}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Icon\-Size (int {\em size})}\label{classKFileIconView_a21}


Sets the size of the icons to show. 

Defaults to {\bf KIcon::Size\-Small}. 

Definition at line 481 of file kfileiconview.cpp.\index{KFileIconView@{KFile\-Icon\-View}!setPreviewSize@{setPreviewSize}}
\index{setPreviewSize@{setPreviewSize}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Preview\-Size (int {\em size})}\label{classKFileIconView_a22}


Sets the size of the previews. 

Defaults to {\bf KIcon::Size\-Large}. 

Definition at line 487 of file kfileiconview.cpp.

References show\-Previews().\index{KFileIconView@{KFile\-Icon\-View}!setIgnoreMaximumSize@{setIgnoreMaximumSize}}
\index{setIgnoreMaximumSize@{setIgnoreMaximumSize}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Ignore\-Maximum\-Size (bool {\em ignore\-Size} = {\tt true})}\label{classKFileIconView_a23}


Disables the \char`\"{}Maximum file size\char`\"{} configuration option for previews. 

Set this before calling {\bf show\-Previews()}{\rm (p.\,\pageref{classKFileIconView_i0})}

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 497 of file kfileiconview.cpp.\index{KFileIconView@{KFile\-Icon\-View}!iconSize@{iconSize}}
\index{iconSize@{iconSize}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KFile\-Icon\-View::icon\-Size () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileIconView_a24}


\begin{Desc}
\item[Returns:]the current size used for icons. \end{Desc}


Definition at line 136 of file kfileiconview.h.\index{KFileIconView@{KFile\-Icon\-View}!ensureItemVisible@{ensureItemVisible}}
\index{ensureItemVisible@{ensureItemVisible}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::ensure\-Item\-Visible (const {\bf KFile\-Item} $\ast$)\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a25}


pure virtual function, that should be implemented to make item i visible, i.e. 

by scrolling the view appropriately. 

Implements {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a29})}.

Definition at line 508 of file kfileiconview.cpp.

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

Referenced by KCombi\-View::ensure\-Item\-Visible().\index{KFileIconView@{KFile\-Icon\-View}!setSorting@{setSorting}}
\index{setSorting@{setSorting}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::set\-Sorting (QDir::Sort\-Spec {\em sort})\hspace{0.3cm}{\tt  [virtual]}}\label{classKFileIconView_a26}


Sets the sorting order of the view. 

Default is QDir::Name $|$ QDir::Ignore\-Case $|$ QDir::Dirs\-First Override this in your subclass and sort accordingly (usually by setting the sorting-key for every item and telling {\bf QIcon\-View} or {\bf QList\-View} to sort.

A view may choose to use a different sorting than QDir::Name, Time or Size. E.g. to sort by mimetype or any possible string. Set the sorting to QDir::Unsorted for that and do the rest internally.

\begin{Desc}
\item[See also:]{\bf sorting\-Key}{\rm (p.\,\pageref{classKFileView_e0})} \end{Desc}


Reimplemented from {\bf KFile\-View} {\rm (p.\,\pageref{classKFileView_a14})}.

Definition at line 675 of file kfileiconview.cpp.

References QPtr\-List\-Iterator::current(), KFile\-Item::is\-Dir(), KFile\-View::is\-Reversed(), KFile\-View::items(), QIcon\-View\-Item::set\-Key(), QIcon\-View::set\-Sorting(), KFile\-View::set\-Sorting(), KFile\-Item::size(), QIcon\-View::sort(), KFile\-View::sorting\-Key(), KFile\-Item::text(), and KFile\-Item::time().

Referenced by KCombi\-View::set\-Sorting().\index{KFileIconView@{KFile\-Icon\-View}!showPreviews@{showPreviews}}
\index{showPreviews@{showPreviews}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::show\-Previews ()\hspace{0.3cm}{\tt  [slot]}}\label{classKFileIconView_i0}


Starts loading previews for all files shown and shows them. 

Switches into 'large rows' mode, if that isn't the current mode yet.

\begin{Desc}
\item[See also:]{\bf set\-Ignore\-Maximum\-Size}{\rm (p.\,\pageref{classKFileIconView_a23})} \end{Desc}


Definition at line 577 of file kfileiconview.cpp.

References KIO::file\-Preview(), KFile\-View::items(), and KIO::Preview\-Job::supported\-Mime\-Types().

Referenced by set\-Preview\-Size().\index{KFileIconView@{KFile\-Icon\-View}!arrangeItemsInGrid@{arrangeItemsInGrid}}
\index{arrangeItemsInGrid@{arrangeItemsInGrid}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::arrange\-Items\-In\-Grid (bool {\em updated} = {\tt true})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKFileIconView_i3}


Reimplemented for performance reasons. 

\begin{Desc}
\item[Since:]3.1 \end{Desc}


Reimplemented from {\bf QIcon\-View}.

Definition at line 791 of file kfileiconview.cpp.

References QIcon\-View::arrange\-Items\-In\-Grid().

Referenced by listing\-Completed().\index{KFileIconView@{KFile\-Icon\-View}!keyPressEvent@{keyPressEvent}}
\index{keyPressEvent@{keyPressEvent}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::key\-Press\-Event ({\bf QKey\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKFileIconView_b0}


Reimplemented to not let {\bf QIcon\-View} eat return-key events. 



Definition at line 291 of file kfileiconview.cpp.\index{KFileIconView@{KFile\-Icon\-View}!hideEvent@{hideEvent}}
\index{hideEvent@{hideEvent}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::hide\-Event ({\bf QHide\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKFileIconView_b1}


Reimplemented to remove an eventual tooltip. 



Definition at line 285 of file kfileiconview.cpp.\index{KFileIconView@{KFile\-Icon\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::dropped ({\bf QDrop\-Event} $\ast$ {\em event}, {\bf KFile\-Item} $\ast$ {\em file\-Item})\hspace{0.3cm}{\tt  [signal]}}\label{classKFileIconView_l0}


The user dropped something. 

{\tt file\-Item} points to the item dropped on or can be 0 if the user dropped on empty space. \begin{Desc}
\item[Since:]3.2 \end{Desc}
\index{KFileIconView@{KFile\-Icon\-View}!dropped@{dropped}}
\index{dropped@{dropped}!KFileIconView@{KFile\-Icon\-View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KFile\-Icon\-View::dropped ({\bf QDrop\-Event} $\ast$ {\em event}, const {\bf KURL::List} \& {\em urls}, const {\bf KURL} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKFileIconView_l1}


The user dropped the URLs {\tt urls}. 

{\tt url} points to the item dropped on or can be empty if the user dropped on empty space. \begin{Desc}
\item[Since:]3.2 \end{Desc}


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