.TH "KLimitedIODevice" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KLimitedIODevice \- A readonly device that reads from an underlying device from a given point to another (e.g.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <klimitediodevice.h>\fP
.PP
Inherits \fBQIODevice\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKLimitedIODevice\fP (\fBQIODevice\fP *dev, int start, int length)"
.br
.ti -1c
.RI "virtual bool \fBopen\fP (int m)"
.br
.ti -1c
.RI "virtual void \fBclose\fP ()"
.br
.ti -1c
.RI "virtual void \fBflush\fP ()"
.br
.ti -1c
.RI "virtual \fBOffset\fP \fBsize\fP () const "
.br
.ti -1c
.RI "virtual Q_LONG \fBreadBlock\fP (char *data, Q_ULONG maxlen)"
.br
.ti -1c
.RI "virtual Q_LONG \fBwriteBlock\fP (const char *, Q_ULONG)"
.br
.ti -1c
.RI "virtual int \fBputch\fP (int)"
.br
.ti -1c
.RI "virtual int \fBgetch\fP ()"
.br
.ti -1c
.RI "virtual int \fBungetch\fP (int c)"
.br
.ti -1c
.RI "virtual \fBOffset\fP \fBat\fP () const "
.br
.ti -1c
.RI "virtual bool \fBat\fP (\fBOffset\fP pos)"
.br
.ti -1c
.RI "virtual bool \fBatEnd\fP () const "
.br
.in -1c
.SH "Detailed Description"
.PP 
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). 
.PP
\fBAuthor:\fP
.RS 4
David Faure <david@mandrakesoft.com> 
.RE
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 31 of file klimitediodevice.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KLimitedIODevice::KLimitedIODevice (\fBQIODevice\fP * dev, int start, int length)\fC [inline]\fP"
.PP
Creates a new KLimitedIODevice. 
.PP
\fBParameters:\fP
.RS 4
\fIdev\fP the underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it. 
.br
\fIstart\fP where to start reading (position in bytes) 
.br
\fIlength\fP the length of the data to read (in bytes) 
.RE
.PP

.PP
Definition at line 41 of file klimitediodevice.h.
.PP
References QIODevice::open().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
