\section{KNS::Upload\-Dialog Class Reference}
\label{classKNS_1_1UploadDialog}\index{KNS::UploadDialog@{KNS::UploadDialog}}
{\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} file upload dialog.  


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

Collaboration diagram for KNS::Upload\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=290pt]{classKNS_1_1UploadDialog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Upload\-Dialog} ({\bf Engine} $\ast$engine, {\bf QWidget} $\ast$parent)
\item 
{\bf $\sim$Upload\-Dialog} ()
\item 
void {\bf set\-Preview\-File} (const {\bf QString} \&preview\-File)
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Ok} ()\label{classKNS_1_1UploadDialog_j0}

\end{CompactItemize}


\subsection{Detailed Description}
{\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} file upload dialog. 

Using this dialog, data can easily be uploaded to the Hotstuff servers. It should however not be used on its own, instead a {\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} (or {\bf KNew\-Stuff\-Generic}{\rm (p.\,\pageref{classKNewStuffGeneric})}) object invokes it.

\begin{Desc}
\item[Author:]Cornelius Schumacher ({\tt schumacher@kde.org}) \end{Desc}
\begin{Desc}
\item[Maintainer:]Josef Spillner ({\tt spillner@kde.org}) \end{Desc}




Definition at line 47 of file uploaddialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KNS::UploadDialog@{KNS::Upload\-Dialog}!UploadDialog@{UploadDialog}}
\index{UploadDialog@{UploadDialog}!KNS::UploadDialog@{KNS::Upload\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Upload\-Dialog::Upload\-Dialog ({\bf Engine} $\ast$ {\em engine}, {\bf QWidget} $\ast$ {\em parent})}\label{classKNS_1_1UploadDialog_a0}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em engine}]a {\bf KNew\-Stuff}{\rm (p.\,\pageref{classKNewStuff})} engine object to be used for uploads \item[{\em parent}]the parent window \end{description}
\end{Desc}


Definition at line 45 of file uploaddialog.cpp.

References QGrid\-Layout::add\-Multi\-Cell\-Widget(), QGrid\-Layout::add\-Widget(), QCombo\-Box::insert\-Item(), QCombo\-Box::insert\-String\-List(), QString::is\-Empty(), QString::is\-Null(), QPtr\-List::set\-Auto\-Delete(), QCombo\-Box::set\-Current\-Text(), QCombo\-Box::set\-Editable(), QSpin\-Box::set\-Min\-Value(), QText\-Edit::set\-Text(), QLine\-Edit::set\-Text(), QSpin\-Box::set\-Value(), and QString::to\-Int().\index{KNS::UploadDialog@{KNS::Upload\-Dialog}!~UploadDialog@{$\sim$UploadDialog}}
\index{~UploadDialog@{$\sim$UploadDialog}!KNS::UploadDialog@{KNS::Upload\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Upload\-Dialog::$\sim${\bf Upload\-Dialog} ()}\label{classKNS_1_1UploadDialog_a1}


Destructor. 



Definition at line 131 of file uploaddialog.cpp.

References QPtr\-List::clear().

\subsection{Member Function Documentation}
\index{KNS::UploadDialog@{KNS::Upload\-Dialog}!setPreviewFile@{setPreviewFile}}
\index{setPreviewFile@{setPreviewFile}!KNS::UploadDialog@{KNS::Upload\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Upload\-Dialog::set\-Preview\-File (const {\bf QString} \& {\em preview\-File})}\label{classKNS_1_1UploadDialog_a2}


Sets the preview filename. 

This is only meaningful if the application supports previews.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em preview\-File}]the preview image file \end{description}
\end{Desc}


Definition at line 172 of file uploaddialog.cpp.

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