File indexing completed on 2024-05-12 04:38:23
0001 /* 0002 SPDX-FileCopyrightText: David Nolden <david.nolden.kdevelop@art-master.de> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPLATFORM_WORKINGSETHELPERS_H 0008 #define KDEVPLATFORM_WORKINGSETHELPERS_H 0009 0010 #include <QSet> 0011 0012 namespace KDevelop { 0013 0014 class MainWindow; 0015 0016 //returns the active MainWindow 0017 MainWindow* mainWindow(); 0018 0019 //Filters the views in the main-window so they only contain the given files to keep 0020 void filterViews(const QSet< QString >& keepFiles); 0021 0022 } 0023 0024 #endif // KDEVPLATFORM_WORKINGSETHELPERS_H