File indexing completed on 2025-01-26 05:24:20
0001 /* 0002 This file is part of the Kasten Framework, 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 "abstracttoolwidget.hpp" 0010 #include "abstracttoolwidget_p.hpp" 0011 0012 namespace Kasten { 0013 0014 AbstractToolWidget::AbstractToolWidget(QWidget* parent) 0015 : QWidget(parent) 0016 , d_ptr(new AbstractToolWidgetPrivate(this)) 0017 { 0018 } 0019 0020 AbstractToolWidget::~AbstractToolWidget() = default; 0021 0022 void AbstractToolWidget::addButton(QPushButton* button, DefaultType defaultType) 0023 { 0024 Q_D(AbstractToolWidget); 0025 0026 d->addButton(button, defaultType); 0027 } 0028 0029 } 0030 0031 #include "moc_abstracttoolwidget.cpp"