#include <KoDirectoryStore.h>
Graphe d'héritage de KoDirectoryStore:
Fonctions membres publiques | |
KoDirectoryStore (const QString &path, Mode _mode) | |
~KoDirectoryStore () | |
Fonctions membres protégées | |
virtual bool | init (Mode _mode) |
virtual bool | openWrite (const QString &name) |
virtual bool | openRead (const QString &name) |
virtual bool | closeRead () |
virtual bool | closeWrite () |
virtual bool | enterRelativeDirectory (const QString &dirName) |
virtual bool | enterAbsoluteDirectory (const QString &path) |
virtual bool | fileExists (const QString &absPath) const |
bool | openReadOrWrite (const QString &name, QIODevice::OpenModeFlag iomode) |
Attributs privés | |
QString | m_basePath |
QString | m_currentPath |
The "current directory" (path). | |
QFile * | m_file |
Définition à la ligne 27 du fichier KoDirectoryStore.h.
KoDirectoryStore::KoDirectoryStore | ( | const QString & | path, | |
Mode | _mode | |||
) |
Définition à la ligne 27 du fichier KoDirectoryStore.cpp.
Références init(), m_basePath, KoStore::m_bGood, m_currentPath, KoStore::pos(), et KoStore::s_area.
Voici le graphe d'appel pour cette fonction :
KoDirectoryStore::~KoDirectoryStore | ( | ) |
Définition à la ligne 43 du fichier KoDirectoryStore.cpp.
bool KoDirectoryStore::init | ( | Mode | _mode | ) | [protected, virtual] |
Init store - called by constructor.
Réimplémentée à partir de KoStore.
Définition à la ligne 47 du fichier KoDirectoryStore.cpp.
Références KoStore::init(), m_basePath, KoStore::s_area, et KoStore::Write.
Référencé par KoDirectoryStore().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
virtual bool KoDirectoryStore::openWrite | ( | const QString & | name | ) | [inline, protected, virtual] |
Open the file name
in the store, for writing On success, this method must set m_stream to a stream in which we can write.
name | "absolute path" (in the archive) to the file to open |
Implémente KoStore.
Définition à la ligne 34 du fichier KoDirectoryStore.h.
Références openReadOrWrite().
Voici le graphe d'appel pour cette fonction :
virtual bool KoDirectoryStore::openRead | ( | const QString & | name | ) | [inline, protected, virtual] |
Open the file name
in the store, for reading. On success, this method must set m_stream to a stream from which we can read, as well as setting m_iSize to the size of the file.
name | "absolute path" (in the archive) to the file to open |
Implémente KoStore.
Définition à la ligne 35 du fichier KoDirectoryStore.h.
Références openReadOrWrite().
Voici le graphe d'appel pour cette fonction :
virtual bool KoDirectoryStore::closeRead | ( | ) | [inline, protected, virtual] |
virtual bool KoDirectoryStore::closeWrite | ( | ) | [inline, protected, virtual] |
bool KoDirectoryStore::enterRelativeDirectory | ( | const QString & | dirName | ) | [protected, virtual] |
Enter a subdirectory of the current directory. The directory might not exist yet in Write mode.
Implémente KoStore.
Définition à la ligne 88 du fichier KoDirectoryStore.cpp.
Références m_currentPath, KoStore::mode(), KoStore::s_area, et KoStore::Write.
Voici le graphe d'appel pour cette fonction :
bool KoDirectoryStore::enterAbsoluteDirectory | ( | const QString & | path | ) | [protected, virtual] |
Enter a directory where we've been before. It is guaranteed to always exist.
Implémente KoStore.
Définition à la ligne 106 du fichier KoDirectoryStore.cpp.
Références m_basePath, et m_currentPath.
Référencé par openReadOrWrite().
Voici le graphe d'appel pour cette fonction :
bool KoDirectoryStore::fileExists | ( | const QString & | absPath | ) | const [protected, virtual] |
Check if a file exists inside the store.
absPath | the absolute path inside the store, i.e. not relative to the current directory |
Implémente KoStore.
Définition à la ligne 115 du fichier KoDirectoryStore.cpp.
Références m_basePath, et KoStore::s_area.
bool KoDirectoryStore::openReadOrWrite | ( | const QString & | name, | |
QIODevice::OpenModeFlag | iomode | |||
) | [protected] |
Définition à la ligne 62 du fichier KoDirectoryStore.cpp.
Références enterAbsoluteDirectory(), KoStore::enterDirectory(), m_basePath, KoStore::m_iSize, KoStore::m_stream, KoStore::popDirectory(), KoStore::pos(), et KoStore::pushDirectory().
Référencé par openRead(), et openWrite().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QString KoDirectoryStore::m_basePath [private] |
Définition à la ligne 45 du fichier KoDirectoryStore.h.
Référencé par enterAbsoluteDirectory(), fileExists(), init(), KoDirectoryStore(), et openReadOrWrite().
QString KoDirectoryStore::m_currentPath [private] |
The "current directory" (path).
Réimplémentée à partir de KoStore.
Définition à la ligne 48 du fichier KoDirectoryStore.h.
Référencé par enterAbsoluteDirectory(), enterRelativeDirectory(), et KoDirectoryStore().
QFile* KoDirectoryStore::m_file [private] |
Définition à la ligne 51 du fichier KoDirectoryStore.h.