File indexing completed on 2024-05-05 04:40:52

0001 /*
0002     SPDX-FileCopyrightText: 2008 David Nolden <david.nolden.kdevelop@art-master.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-only
0005 */
0006 
0007 #ifndef KDEVPLATFORM_PLUGIN_DECLARATION_LIST_QUICKOPEN_H
0008 #define KDEVPLATFORM_PLUGIN_DECLARATION_LIST_QUICKOPEN_H
0009 
0010 #include "duchainitemquickopen.h"
0011 
0012 namespace KDevelop {
0013 class IQuickOpen;
0014 }
0015 
0016 class DeclarationListDataProvider
0017     : public DUChainItemDataProvider
0018 {
0019     Q_OBJECT
0020 public:
0021     DeclarationListDataProvider(KDevelop::IQuickOpen* quickopen,
0022                                 const QVector<DUChainItem>& items,
0023                                 bool openDefinitions = false);
0024 
0025     void reset() override;
0026 private:
0027     QVector<DUChainItem> m_items;
0028 };
0029 
0030 #endif
0031