diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-29 11:11:49 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-03-29 11:03:34 +0000 |
commit | 348aa12eaa477f416b9ba32924a3312fdf26f1bd (patch) | |
tree | 01c08be4f42c248c62d821b95dcd5fea1730e4b9 /src/plugins/qmlprojectmanager/qmlprojectfile.h | |
parent | df64242ab2d25854686d406f8bdc392795c79de1 (diff) | |
download | qt-creator-348aa12eaa477f416b9ba32924a3312fdf26f1bd.tar.gz |
ProjectExplorer: Provide ProjectDocument and use it in all projects
Change-Id: I6e054ebf1043bd1f6748f1567f35c68394bd6528
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectfile.h')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectfile.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectfile.h b/src/plugins/qmlprojectmanager/qmlprojectfile.h deleted file mode 100644 index 90805fa018..0000000000 --- a/src/plugins/qmlprojectmanager/qmlprojectfile.h +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of Qt Creator. -** -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -****************************************************************************/ - -#pragma once - -#include <coreplugin/idocument.h> - -namespace QmlProjectManager { - -class QmlProject; - -namespace Internal { - -class QmlProjectFile : public Core::IDocument -{ -public: - QmlProjectFile(QmlProject *parent, const Utils::FileName &fileName); - - ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override; - bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override; - -private: - QmlProject *m_project; -}; - -} // namespace Internal -} // namespace QmlProjectManager |