|
|
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)
KLimitedIODevice ( QIODevice *dev, int start, int length )
| KLimitedIODevice |
Parameters:
dev | the underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it. |
~KLimitedIODevice ()
| ~KLimitedIODevice |
[virtual]
bool open ( int m )
| open |
[virtual]
void close ()
| close |
[virtual]
void flush ()
| flush |
[virtual]
Offset size ()
| size |
[const virtual]
Q_LONG readBlock ( char * data, Q_ULONG maxlen )
| readBlock |
[virtual]
Q_LONG writeBlock ( const char *, Q_ULONG )
| writeBlock |
[virtual]
int putch ( int )
| putch |
[virtual]
int getch ()
| getch |
[virtual]
int ungetch ( int c )
| ungetch |
[virtual]
Offset at ()
| at |
[const virtual]
bool at ( Offset pos )
| at |
[virtual]
bool atEnd ()
| atEnd |
[const virtual]