\section{KLimited\-IODevice Class Reference}
\label{classKLimitedIODevice}\index{KLimitedIODevice@{KLimitedIODevice}}
A readonly device that reads from an underlying device from a given point to another (e.g.  


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

Inheritance diagram for KLimited\-IODevice:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=66pt]{classKLimitedIODevice__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KLimited\-IODevice:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=69pt]{classKLimitedIODevice__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KLimited\-IODevice} ({\bf QIODevice} $\ast$dev, int start, int length)
\item 
virtual bool {\bf open} (int m)\label{classKLimitedIODevice_a2}

\item 
virtual void {\bf close} ()\label{classKLimitedIODevice_a3}

\item 
virtual void {\bf flush} ()\label{classKLimitedIODevice_a4}

\item 
virtual {\bf Offset} {\bf size} () const \label{classKLimitedIODevice_a5}

\item 
virtual Q\_\-LONG {\bf read\-Block} (char $\ast$data, Q\_\-ULONG maxlen)\label{classKLimitedIODevice_a6}

\item 
virtual Q\_\-LONG {\bf write\-Block} (const char $\ast$, Q\_\-ULONG)\label{classKLimitedIODevice_a7}

\item 
virtual int {\bf putch} (int)\label{classKLimitedIODevice_a8}

\item 
virtual int {\bf getch} ()\label{classKLimitedIODevice_a9}

\item 
virtual int {\bf ungetch} (int c)\label{classKLimitedIODevice_a10}

\item 
virtual {\bf Offset} {\bf at} () const \label{classKLimitedIODevice_a11}

\item 
virtual bool {\bf at} ({\bf Offset} pos)\label{classKLimitedIODevice_a12}

\item 
virtual bool {\bf at\-End} () const \label{classKLimitedIODevice_a13}

\end{CompactItemize}


\subsection{Detailed Description}
A readonly device that reads from an underlying device from a given point to another (e.g. 

to give access to a single file inside an archive). \begin{Desc}
\item[Author:]David Faure $<${\tt david@mandrakesoft.com}$>$ \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}




Definition at line 31 of file klimitediodevice.h.

\subsection{Constructor \& Destructor Documentation}
\index{KLimitedIODevice@{KLimited\-IODevice}!KLimitedIODevice@{KLimitedIODevice}}
\index{KLimitedIODevice@{KLimitedIODevice}!KLimitedIODevice@{KLimited\-IODevice}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KLimited\-IODevice::KLimited\-IODevice ({\bf QIODevice} $\ast$ {\em dev}, int {\em start}, int {\em length})\hspace{0.3cm}{\tt  [inline]}}\label{classKLimitedIODevice_a0}


Creates a new KLimited\-IODevice. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dev}]the underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it. \item[{\em start}]where to start reading (position in bytes) \item[{\em length}]the length of the data to read (in bytes) \end{description}
\end{Desc}


Definition at line 41 of file klimitediodevice.h.

References QIODevice::open().

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