File indexing completed on 2024-05-12 04:20:44
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KGantt library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KGANTTLISTVIEWROWCONTROLLER_P_H 0010 #define KGANTTLISTVIEWROWCONTROLLER_P_H 0011 0012 #include "kganttlistviewrowcontroller.h" 0013 0014 #include <QListView> 0015 0016 namespace KGantt { 0017 class Q_DECL_HIDDEN ListViewRowController::Private { 0018 public: 0019 class HackListView : public QListView { 0020 public: 0021 using QListView::verticalOffset; 0022 using QListView::setViewportMargins; 0023 }; 0024 0025 Private(QListView* lv, QAbstractProxyModel* pm ) 0026 : listview(lv), proxy(pm) {} 0027 QListView* listview; 0028 QAbstractProxyModel* proxy; 0029 }; 0030 } 0031 0032 #endif /* KGANTTLISTVIEWROWCONTROLLER_P_H */ 0033