File indexing completed on 2024-04-28 04:38:39
0001 /* 0002 SPDX-FileCopyrightText: 2010 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H 0008 #define KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H 0009 0010 #include <QComboBox> 0011 #include <project/projectmodel.h> 0012 0013 namespace KDevelop { 0014 class ProjectFolderItem; 0015 } 0016 0017 class ProjectTargetsComboBox : public QComboBox 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit ProjectTargetsComboBox(QWidget* parent = nullptr); 0022 0023 void setBaseItem(KDevelop::ProjectFolderItem* item, bool exec); 0024 void setCurrentItemPath(const QStringList& str); 0025 0026 QStringList currentItemPath() const; 0027 0028 }; 0029 0030 #endif // KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H