#include <KoStoreBase.h>
|
| enum | FileMode { Local =1
, RemoteRead
, RemoteWrite
} |
| |
| enum | Mode { Read
, Write
} |
| |
| enum | Backend { Auto
, Tar
, Zip
, Directory
} |
| |
|
| virtual | ~KoStore () |
| |
| bool | open (const TQString &name) |
| |
| bool | isOpen () const |
| |
| bool | close () |
| |
| TQIODevice * | device () const |
| |
| TQByteArray | read (unsigned long int max) |
| |
| TQ_LONG | write (const TQByteArray &_data) |
| |
| TQ_LONG | read (char *_buffer, TQ_ULONG _len) |
| |
| virtual TQ_LONG | write (const char *_data, TQ_ULONG _len) |
| |
| TQIODevice::Offset | size () const |
| |
| bool | bad () const |
| |
| Mode | mode () const |
| |
| bool | enterDirectory (const TQString &directory) |
| |
| bool | leaveDirectory () |
| |
| TQString | currentPath () const |
| |
| TQString | currentDirectory () const |
| |
| void | pushDirectory () |
| |
| void | popDirectory () |
| |
| bool | hasFile (const TQString &fileName) const |
| |
| bool | addLocalFile (const TQString &fileName, const TQString &destName) |
| |
| TQStringList | addLocalDirectory (const TQString &dirPath, const TQString &dest) |
| |
| bool | extractFile (const TQString &srcName, const TQString &fileName) |
| |
| bool | at (TQIODevice::Offset pos) |
| |
| TQIODevice::Offset | at () const |
| |
| bool | atEnd () const |
| |
| void | disallowNameExpansion (void) |
| |
| static KoStore * | createStore (const TQString &fileName, Mode mode, const TQCString &appIdentification="", Backend backend=Auto) |
| |
| static KoStore * | createStore (TQIODevice *device, Mode mode, const TQCString &appIdentification="", Backend backend=Auto) |
| |
| static KoStore * | createStore (TQWidget *window, const KURL &url, Mode mode, const TQCString &appIdentification="", Backend backend=Auto) |
| |
| virtual bool | init (Mode mode) |
| |
| virtual bool | openWrite (const TQString &name)=0 |
| |
| virtual bool | openRead (const TQString &name)=0 |
| |
| virtual bool | closeRead ()=0 |
| |
| virtual bool | closeWrite ()=0 |
| |
| virtual bool | enterRelativeDirectory (const TQString &dirName)=0 |
| |
| virtual bool | enterAbsoluteDirectory (const TQString &path)=0 |
| |
| virtual bool | fileExists (const TQString &absPath) const =0 |
| |
| static const int | s_area = 30002 |
| |
Helper class for KoStore (mainly for remote file support)
- Since
- 1.4
Definition at line 32 of file KoStoreBase.h.
◆ FileMode
| enum KoStoreBase::FileMode |
◆ KoStoreBase()
| KoStoreBase::KoStoreBase |
( |
void |
| ) |
|
◆ ~KoStoreBase()
| KoStoreBase::~KoStoreBase |
( |
void |
| ) |
|
|
virtual |
◆ m_fileMode
| FileMode KoStoreBase::m_fileMode |
|
protected |
◆ m_localFileName
| TQString KoStoreBase::m_localFileName |
|
protected |
◆ m_url
original URL of the remote file (undefined for a local file)
Definition at line 45 of file KoStoreBase.h.
◆ m_window
| TQWidget* KoStoreBase::m_window |
|
protected |
The documentation for this class was generated from the following files:
|