Warning, file /utilities/okteta/kasten/controllers/view/poddecoder/poddecodertoolviewfactory.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     This file is part of the Kasten Framework, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2010 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 "poddecodertoolviewfactory.hpp"
0010 
0011 // lib
0012 #include "poddecodertoolview.hpp"
0013 #include "poddecodertool.hpp"
0014 // KF
0015 #include <KLocalizedString>
0016 
0017 namespace Kasten {
0018 
0019 PodDecoderToolViewFactory::PodDecoderToolViewFactory() = default;
0020 
0021 PodDecoderToolViewFactory::~PodDecoderToolViewFactory() = default;
0022 
0023 QString PodDecoderToolViewFactory::iconName() const { return QStringLiteral("okteta"); }
0024 QString PodDecoderToolViewFactory::title()       const { return i18nc("@title:window", "Decoding Table"); }
0025 QString PodDecoderToolViewFactory::id()       const { return QStringLiteral("org.kde.okteta.PodDecoderToolView"); }
0026 SidePosition PodDecoderToolViewFactory::defaultPosition() const { return RightSidePosition; }
0027 
0028 AbstractToolView* PodDecoderToolViewFactory::create(AbstractTool* tool) const
0029 {
0030     return new PODDecoderToolView(qobject_cast<PODDecoderTool*>(tool));
0031 }
0032 
0033 }