File indexing completed on 2025-02-02 14:20:07
0001 /* 0002 This file is part of the KDE project 0003 SPDX-FileCopyrightText: 2007 Matthias Kretz <kretz@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-only 0006 */ 0007 0008 #ifndef KPAGEWIDGET_P_H 0009 #define KPAGEWIDGET_P_H 0010 0011 #include "kpageview_p.h" 0012 #include "kpagewidget.h" 0013 0014 class KPageWidgetModel; 0015 class KPageWidgetPrivate : public KPageViewPrivate 0016 { 0017 Q_DECLARE_PUBLIC(KPageWidget) 0018 protected: 0019 KPageWidgetPrivate(KPageWidget *qq); 0020 0021 KPageWidgetModel *model() const 0022 { 0023 return static_cast<KPageWidgetModel *>(KPageViewPrivate::model); 0024 } 0025 0026 void slotCurrentPageChanged(const QModelIndex &, const QModelIndex &); 0027 }; 0028 0029 #endif // KPAGEWIDGET_P_H