koTarStore.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef koTarStore_h
00021 #define koTarStore_h
00022
00023 #include "koStoreBase.h"
00024
00025 class KTar;
00026 class KArchiveDirectory;
00027 class KURL;
00028
00029 class KoTarStore : public KoStoreBase
00030 {
00031 public:
00032 KoTarStore( const QString & _filename, Mode _mode, const QCString & appIdentification );
00033 KoTarStore( QIODevice *dev, Mode mode, const QCString & appIdentification );
00039 KoTarStore( QWidget* window, const KURL& url, const QString & _filename, Mode _mode, const QCString & appIdentification );
00040 ~KoTarStore();
00041 protected:
00042 virtual bool init( Mode _mode );
00043 virtual bool openWrite( const QString& name );
00044 virtual bool openRead( const QString& name );
00045 virtual bool closeWrite();
00046 virtual bool closeRead() { return true; }
00047 virtual bool enterRelativeDirectory( const QString& dirName );
00048 virtual bool enterAbsoluteDirectory( const QString& path );
00049 virtual bool fileExists( const QString& absPath ) const;
00050
00051 static QCString completeMagic( const QCString& appMimetype );
00052
00054 KTar * m_pTar;
00055
00058 const KArchiveDirectory* m_currentDir;
00059
00061 QByteArray m_byteArray;
00062
00063 };
00064
00065 #endif
This file is part of the documentation for lib Library Version 1.4.2.