KLimitedIODevice Class Reference
A readonly device that reads from an underlying device from a given point to another (e.g.  
More...
#include <klimitediodevice.h>
List of all members.
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 31 of file klimitediodevice.h.
Constructor & Destructor Documentation
      
        
          | KLimitedIODevice::KLimitedIODevice | ( | QIODevice * | dev, | 
        
          |  |  | int | start, | 
        
          |  |  | int | length |  | 
        
          |  | ) |  |  |  [inline] | 
      
 
Creates a new KLimitedIODevice. 
- Parameters:
- 
  
    |  | dev | the underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it. |  |  | start | where to start reading (position in bytes) |  |  | length | the length of the data to read (in bytes) |  
 
Definition at line 41 of file klimitediodevice.h.
 
 
      
        
          | virtual KLimitedIODevice::~KLimitedIODevice | ( |  | ) |  [inline, virtual] | 
      
 
 
Member Function Documentation
      
        
          | virtual bool KLimitedIODevice::at | ( | Offset | pos | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual Offset KLimitedIODevice::at | ( |  | ) | const  [inline, virtual] | 
      
 
 
      
        
          | virtual bool KLimitedIODevice::atEnd | ( |  | ) | const  [inline, virtual] | 
      
 
 
      
        
          | virtual void KLimitedIODevice::close | ( |  | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual void KLimitedIODevice::flush | ( |  | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual int KLimitedIODevice::getch | ( |  | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual bool KLimitedIODevice::open | ( | int | m | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual int KLimitedIODevice::putch | ( | int |  | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual Q_LONG KLimitedIODevice::readBlock | ( | char * | data, | 
        
          |  |  | Q_ULONG | maxlen |  | 
        
          |  | ) |  |  |  [inline, virtual] | 
      
 
 
      
        
          | virtual Offset KLimitedIODevice::size | ( |  | ) | const  [inline, virtual] | 
      
 
 
      
        
          | virtual int KLimitedIODevice::ungetch | ( | int | c | ) |  [inline, virtual] | 
      
 
 
      
        
          | virtual Q_LONG KLimitedIODevice::writeBlock | ( | const char * | , | 
        
          |  |  | Q_ULONG |  |  | 
        
          |  | ) |  |  |  [inline, virtual] | 
      
 
 
The documentation for this class was generated from the following file: