File indexing completed on 2024-04-14 05:45:56

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 #ifndef OKTETA_WIDGETCOLUMNSTYLIST_P_HPP
0010 #define OKTETA_WIDGETCOLUMNSTYLIST_P_HPP
0011 
0012 // lib
0013 #include "abstractcolumnstylist_p.hpp"
0014 
0015 namespace Okteta {
0016 
0017 class WidgetColumnStylistPrivate : public AbstractColumnStylistPrivate
0018 {
0019 public:
0020     explicit WidgetColumnStylistPrivate(QWidget* mWidget);
0021     ~WidgetColumnStylistPrivate() override;
0022 
0023 public:
0024     QWidget* widget() const;
0025 
0026 private:
0027     QWidget* const mWidget;
0028 };
0029 
0030 inline WidgetColumnStylistPrivate::WidgetColumnStylistPrivate(QWidget* widget) : mWidget(widget) {}
0031 inline WidgetColumnStylistPrivate::~WidgetColumnStylistPrivate() = default;
0032 
0033 inline QWidget* WidgetColumnStylistPrivate::widget() const { return mWidget; }
0034 
0035 }
0036 
0037 #endif