kio Library API Documentation

KLimitedIODevice Class Reference

A readonly device that reads from an underlying device from a given point to another (e.g. More...

#include <klimitediodevice.h>

Inheritance diagram for KLimitedIODevice:

QIODevice List of all members.

Public Methods

 KLimitedIODevice (QIODevice *dev, int start, int length)
virtual bool open (int m)
virtual void close ()
virtual void flush ()
virtual Q_LONG readBlock (char *data, Q_ULONG maxlen)
virtual Q_LONG writeBlock (const char *, Q_ULONG)
virtual int putch (int)
virtual int getch ()
virtual int ungetch (int c)
virtual bool at (Offset pos)

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)

Author:
David Faure <david@mandrakesoft.com>
Since:
3.1

Definition at line 29 of file klimitediodevice.h.


Constructor & Destructor Documentation

KLimitedIODevice::KLimitedIODevice QIODevice   dev,
int    start,
int    length
[inline]
 

Parameters:
dev  the underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it.

Definition at line 36 of file klimitediodevice.h.

References QIODevice::open().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:36 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001