File indexing completed on 2024-05-12 04:39:29
0001 /* 0002 SPDX-FileCopyrightText: 2013 Aleix Pol <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPROJECTOPEN_H 0008 #define KDEVPROJECTOPEN_H 0009 0010 #include <QObject> 0011 #include <QUrl> 0012 0013 namespace KDevelop { class IProject; } 0014 0015 class KDevProjectOpen : public QObject 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 explicit KDevProjectOpen(QObject* parent = nullptr); 0021 void openProject(const QUrl& path); 0022 void cleanup(); 0023 private Q_SLOTS: 0024 void projectDone(KDevelop::IProject*); 0025 0026 private: 0027 int m_toOpen = 0; 0028 }; 0029 0030 #endif