File indexing completed on 2024-04-14 05:44:23

0001 /*
0002  *  SPDX-FileCopyrightText: 2002-2003 Jesper K. Pedersen <blackie@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-only
0005  **/
0006 
0007 #include "dotregexp.h"
0008 
0009 DotRegExp::DotRegExp(bool selected)
0010     : RegExp(selected)
0011 {
0012 }
0013 
0014 bool DotRegExp::check(ErrorMap &, bool, bool)
0015 {
0016     return false;
0017 }
0018 
0019 QDomNode DotRegExp::toXml(QDomDocument *doc) const
0020 {
0021     return doc->createElement(QStringLiteral("AnyChar"));
0022 }
0023 
0024 bool DotRegExp::load(const QDomElement & /* top */, const QString & /*version*/)
0025 {
0026     // Nothing to do
0027     return true;
0028 }