File indexing completed on 2024-03-24 05:56:11
0001 /* 0002 This file is part of the Okteta Gui library, 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 "widgetcolumnstylist.hpp" 0010 #include "widgetcolumnstylist_p.hpp" 0011 0012 // Qt 0013 #include <QWidget> 0014 0015 namespace Okteta { 0016 0017 WidgetColumnStylist::WidgetColumnStylist(QWidget* parent) 0018 : AbstractColumnStylist(new WidgetColumnStylistPrivate(parent)) 0019 { 0020 } 0021 0022 WidgetColumnStylist::~WidgetColumnStylist() = default; 0023 0024 const QPalette& WidgetColumnStylist::palette() const 0025 { 0026 Q_D(const WidgetColumnStylist); 0027 0028 return d->widget()->palette(); 0029 } 0030 0031 }