#include <KoStoreDevice.h>
Public Member Functions | |
| KoStoreDevice (KoStore *store) | |
| bool | open (int m) |
| void | close () |
| void | flush () |
| Offset | size () const |
| virtual TQ_LONG | readBlock (char *data, TQ_ULONG maxlen) |
| virtual TQ_LONG | writeBlock (const char *data, TQ_ULONG len) |
| TQ_LONG | writeBlock (const TQByteArray &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 | |
| KoStore * | m_store |
Detailed Description
This class implements a TQIODevice around KoStore, so that it can be used to create a TQDomDocument from it, to be written or read using TQDataStream or to be written using TQTextStream.
Definition at line 30 of file KoStoreDevice.h.
Constructor & Destructor Documentation
◆ KoStoreDevice()
|
inline |
Note: KoStore::open() should be called before calling this.
Definition at line 34 of file KoStoreDevice.h.
◆ ~KoStoreDevice()
|
inline |
Definition at line 37 of file KoStoreDevice.h.
Member Function Documentation
◆ at() [1/2]
|
inlinevirtual |
Definition at line 81 of file KoStoreDevice.h.
◆ at() [2/2]
|
inlinevirtual |
Definition at line 80 of file KoStoreDevice.h.
◆ atEnd()
|
inlinevirtual |
Definition at line 82 of file KoStoreDevice.h.
◆ close()
|
inline |
Definition at line 46 of file KoStoreDevice.h.
◆ flush()
|
inline |
Definition at line 47 of file KoStoreDevice.h.
◆ getch()
|
inline |
Definition at line 61 of file KoStoreDevice.h.
◆ open()
|
inline |
Definition at line 39 of file KoStoreDevice.h.
◆ putch()
|
inline |
Definition at line 68 of file KoStoreDevice.h.
◆ readBlock()
|
inlinevirtual |
Definition at line 56 of file KoStoreDevice.h.
◆ size()
|
inline |
Definition at line 49 of file KoStoreDevice.h.
◆ ungetch()
|
inline |
Definition at line 77 of file KoStoreDevice.h.
◆ writeBlock() [1/2]
|
inlinevirtual |
Definition at line 57 of file KoStoreDevice.h.
◆ writeBlock() [2/2]
|
inline |
Definition at line 59 of file KoStoreDevice.h.
Member Data Documentation
◆ m_store
|
protected |
Definition at line 85 of file KoStoreDevice.h.
The documentation for this class was generated from the following file:
