lib

KoStoreDevice Class Reference

#include <KoStoreDevice.h>

List of all members.


Detailed Description

This class implements a QIODevice around KoStore, so that it can be used to create a QDomDocument from it, to be written or read using QDataStream or to be written using QTextStream.

Definition at line 30 of file KoStoreDevice.h.


Public Member Functions

 KoStoreDevice (KoStore *store)
 ~KoStoreDevice ()
bool open (int m)
void close ()
void flush ()
Offset size () const
virtual Q_LONG readBlock (char *data, Q_ULONG maxlen)
virtual Q_LONG writeBlock (const char *data, Q_ULONG len)
Q_LONG writeBlock (const QByteArray &data)
int getch ()
int putch (int _c)
int ungetch (int)
virtual bool at (Offset pos)
virtual Offset at () const
virtual bool atEnd () const

Protected Attributes

KoStorem_store

Constructor & Destructor Documentation

KoStoreDevice::KoStoreDevice KoStore store  )  [inline]
 

Note: KoStore::open() should be called before calling this.

Definition at line 34 of file KoStoreDevice.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys