File indexing completed on 2024-04-28 15:29:20

0001 /*
0002     This file is part of the KDE project
0003     SPDX-FileCopyrightText: 2010 David Faure <faure@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "htmlextension.h"
0009 
0010 #include "readonlypart.h"
0011 
0012 using namespace KParts;
0013 
0014 class KParts::HtmlExtensionPrivate
0015 {
0016 };
0017 
0018 KParts::HtmlExtension::HtmlExtension(KParts::ReadOnlyPart *parent)
0019     : QObject(parent)
0020     , d(nullptr)
0021 {
0022 }
0023 
0024 KParts::HtmlExtension::~HtmlExtension()
0025 {
0026 }
0027 
0028 bool HtmlExtension::hasSelection() const
0029 {
0030     return false;
0031 }
0032 
0033 HtmlExtension *KParts::HtmlExtension::childObject(QObject *obj)
0034 {
0035     return obj->findChild<KParts::HtmlExtension *>(QString(), Qt::FindDirectChildrenOnly);
0036 }
0037 
0038 #include "moc_htmlextension.cpp"