1 /* 2 SPDX-FileCopyrightText: 2010 Aleix Pol Gonzalez <aleixpol@kde.org> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #ifndef KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H 8 #define KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H 9 10 #include <QComboBox> 11 #include <project/projectmodel.h> 12 13 namespace KDevelop { 14 class ProjectFolderItem; 15 } 16 17 class ProjectTargetsComboBox : public QComboBox 18 { 19 Q_OBJECT 20 public: 21 explicit ProjectTargetsComboBox(QWidget* parent = nullptr); 22 23 void setBaseItem(KDevelop::ProjectFolderItem* item, bool exec); 24 void setCurrentItemPath(const QStringList& str); 25 26 QStringList currentItemPath() const; 27 28 }; 29 30 #endif // KDEVPLATFORM_PLUGIN_PROJECTTARGETSCOMBOBOX_H 31