1 /* This file is part of the KDE project 2 Copyright (C) 2005-2006 Ariya Hidayat <ariya@kde.org> 3 Copyright (C) 2007 Thorsten Zachmann <zachmann@kde.org> 4 5 This library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Library General Public 7 License as published by the Free Software Foundation; either 8 version 2 of the License, or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Library General Public License for more details. 14 15 You should have received a copy of the GNU Library General Public License 16 along with this library; see the file COPYING.LIB. If not, write to 17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301, USA. 19 */ 20 21 #ifndef KOXMLREADERFORWARD_H 22 #define KOXMLREADERFORWARD_H 23 24 // use standard QDom, useful to test KoXml classes against Qt's QDom 25 //#define KOXML_USE_QDOM 26 27 #ifdef KOXML_USE_QDOM 28 29 #include <QDomDocument> 30 31 typedef QDomNode KoXmlNode; 32 typedef QDomElement KoXmlElement; 33 typedef QDomText KoXmlText; 34 typedef QDomCDATASection KoXmlCDATASection; 35 typedef QDomDocumentType KoXmlDocumentType; 36 typedef QDomDocument KoXmlDocument; 37 38 #else 39 40 class KoXmlElement; 41 class KoXmlNode; 42 class KoXmlText; 43 class KoXmlCDATASection; 44 class KoXmlDocumentType; 45 class KoXmlDocument; 46 47 #endif 48 49 #endif // KOXMLREADERFORWARD_H 50