ProjectExplorer: Remove Project manager parameter from some constructors

Can be done generically when creating projects. The only wart is
the use from BaseQmakeProjectWizardDialog::writeUserFile.

Change-Id: Ie98c9f88ec142e82443e204a0075e3ae9e163752
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2017-02-28 15:13:16 +01:00
parent 7194e968a8
commit 4d3d2d0dfb
19 changed files with 21 additions and 33 deletions

View File

@@ -29,23 +29,17 @@
#include <projectexplorer/projectnodes.h>
#include <QElapsedTimer>
#include <QFileSystemWatcher>
#include <QFutureWatcher>
#include <QTimer>
namespace TextEditor { class TextDocument; }
namespace Nim {
class NimProjectManager;
class NimProjectNode;
class NimProject : public ProjectExplorer::Project
{
Q_OBJECT
public:
NimProject(NimProjectManager *projectManager, const QString &fileName);
explicit NimProject(const QString &fileName);
QString displayName() const override;
QStringList files(FilesMode) const override;