Warning, file /graphics/okular/generators/chm/lib/helperxmlhandler_epubcontainer.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     Kchmviewer - a CHM and EPUB file viewer with broad language support
0003     SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com
0004 
0005     SPDX-License-Identifier: GPL-3.0-or-later
0006 */
0007 
0008 #include "helperxmlhandler_epubcontainer.h"
0009 
0010 bool HelperXmlHandler_EpubContainer::startElement(const QString &, const QString &, const QString &qName, const QXmlAttributes &atts)
0011 {
0012     if (qName == QLatin1String("rootfile")) {
0013         int idx = atts.index(QLatin1String("full-path"));
0014 
0015         if (idx == -1) {
0016             return false;
0017         }
0018 
0019         contentPath = atts.value(idx);
0020     }
0021 
0022     return true;
0023 }