File indexing completed on 2024-05-05 04:39:44

0001 /*
0002     SPDX-FileCopyrightText: 2005 Adam Treat <treat@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_PLUGIN_KDEVDOCUMENTSELECTION_H
0008 #define KDEVPLATFORM_PLUGIN_KDEVDOCUMENTSELECTION_H
0009 
0010 #include <QItemSelectionModel>
0011 
0012 class KDevDocumentSelection: public QItemSelectionModel
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit KDevDocumentSelection( QAbstractItemModel* model );
0017     ~KDevDocumentSelection() override;
0018 
0019 public Q_SLOTS:
0020     void select( const QModelIndex & index,
0021                          QItemSelectionModel::SelectionFlags command ) override;
0022     void select( const QItemSelection & selection,
0023                          QItemSelectionModel::SelectionFlags command ) override;
0024 };
0025 
0026 #endif // KDEVPLATFORM_PLUGIN_KDEVDOCUMENTSELECTION_H
0027