File indexing completed on 2022-09-27 16:35:41

0001 /*
0002     This file is part of the Okteta Designer plugin, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 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 "oktetawidgetdesignerfactorycollection.hpp"
0010 
0011 // plugin
0012 #include "bytearraycolumnviewdesignerfactory.hpp"
0013 #include "bytearrayrowviewdesignerfactory.hpp"
0014 
0015 OktetaWidgetDesignerFactoryCollection::OktetaWidgetDesignerFactoryCollection(QObject* parent)
0016     : QObject(parent)
0017 {
0018     mWidgetFactories.append(new ByteArrayColumnViewDesignerFactory(this));
0019     mWidgetFactories.append(new ByteArrayRowViewDesignerFactory(this));
0020 }
0021 
0022 QList<QDesignerCustomWidgetInterface*> OktetaWidgetDesignerFactoryCollection::customWidgets() const
0023 {
0024     return mWidgetFactories;
0025 }