File indexing completed on 2024-05-05 04:40:52
0001 /* 0002 SPDX-FileCopyrightText: 2015 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPLATFORM_PLUGIN_ACTIONSQUICKOPENPROVIDER_H 0008 #define KDEVPLATFORM_PLUGIN_ACTIONSQUICKOPENPROVIDER_H 0009 0010 #include <language/interfaces/quickopendataprovider.h> 0011 #include <QVector> 0012 0013 class ActionsQuickOpenProvider 0014 : public KDevelop::QuickOpenDataProviderBase 0015 { 0016 Q_OBJECT 0017 public: 0018 ActionsQuickOpenProvider(); 0019 0020 KDevelop::QuickOpenDataPointer data(uint row) const override; 0021 uint unfilteredItemCount() const override; 0022 uint itemCount() const override; 0023 void reset() override; 0024 void setFilterText(const QString& text) override; 0025 private: 0026 QVector<KDevelop::QuickOpenDataPointer> m_results; 0027 }; 0028 0029 #endif // KDEVPLATFORM_PLUGIN_ACTIONSQUICKOPENPROVIDER_H