File indexing completed on 2024-06-23 05:49:19

0001 /*
0002     This file is part of the Kasten Framework, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2007, 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #include "abstractdocumentfactory.hpp"
0010 
0011 namespace Kasten {
0012 
0013 AbstractDocumentFactory::~AbstractDocumentFactory() = default;
0014 
0015 bool AbstractDocumentFactory::canCreateFromData(const QMimeData* mimeData)
0016 {
0017     Q_UNUSED(mimeData);
0018 
0019     return false;
0020 }
0021 
0022 AbstractDocument* AbstractDocumentFactory::createFromData(const QMimeData* mimeData, bool setModified)
0023 {
0024     Q_UNUSED(mimeData);
0025     Q_UNUSED(setModified);
0026 
0027     return nullptr;
0028 }
0029 
0030 }
0031 
0032 #include "moc_abstractdocumentfactory.cpp"