56 int pos = name.lastIndexOf(
'/');
67 if (!d->stream->open(iomode)) {
72 if (iomode == QIODevice::ReadOnly)
73 d->size = d->stream->size();
88 if (
mode() ==
Write && origDir.mkdir(dirName)) {
89 debugStore <<
"Created" << dirName <<
" under" << origDir.absolutePath();
100 Q_ASSERT(newDir.exists());
101 return newDir.exists();
KoDirectoryStore(const QString &path, Mode _mode, bool writeMimetype)
bool openReadOrWrite(const QString &name, QIODevice::OpenModeFlag ioMode)
bool enterRelativeDirectory(const QString &dirName) override
~KoDirectoryStore() override
bool fileExists(const QString &absPath) const override
bool enterAbsoluteDirectory(const QString &path) override
virtual bool enterDirectory(const QString &directory)