diff options
author | hjk <hjk121@nokiamail.com> | 2013-10-29 16:19:24 +0100 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-10-29 17:57:06 +0100 |
commit | d7d27fccbc4962fd2b4eaacafa1cd281a5efa037 (patch) | |
tree | 72cd8f44e10c5dc559202972c7ae115fd3705ea8 /src/plugins/qt4projectmanager/wizards/qtquickapp.h | |
parent | 733057e3a08e9d264d4fb1d543a3b0a13a88df57 (diff) |
Rename plugins/qt4projectmanager to qmakeprojectmanager
This finally renames the plugin itself.
Change-Id: Ibdf4f4b4e9776c2fdc809e0127f3e1310de44bd1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/qtquickapp.h')
-rw-r--r-- | src/plugins/qt4projectmanager/wizards/qtquickapp.h | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/qtquickapp.h b/src/plugins/qt4projectmanager/wizards/qtquickapp.h deleted file mode 100644 index 7f08bbfca9..0000000000 --- a/src/plugins/qt4projectmanager/wizards/qtquickapp.h +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -****************************************************************************/ - -#ifndef QTQUICKAPP_H -#define QTQUICKAPP_H - -#include "abstractmobileapp.h" - -namespace QmakeProjectManager { -namespace Internal { - -struct QtQuickAppGeneratedFileInfo : public AbstractGeneratedFileInfo -{ - enum ExtendedFileType { - MainQmlFile = ExtendedFile, - MainPageQmlFile, - AppViewerPriFile, - AppViewerCppFile, - AppViewerHFile - }; - - QtQuickAppGeneratedFileInfo() : AbstractGeneratedFileInfo() {} -}; - -class QtQuickApp : public AbstractMobileApp -{ -public: - enum ExtendedFileType { - MainQml = ExtendedFile, - MainQmlDeployed, - MainQmlOrigin, - AppViewerPri, - AppViewerPriOrigin, - AppViewerCpp, - AppViewerCppOrigin, - AppViewerH, - AppViewerHOrigin, - QmlDir, - QmlDirProFileRelative, - MainPageQml, - MainPageQmlOrigin - }; - - enum Mode { - ModeGenerate, - ModeImport - }; - - enum ComponentSet { - QtQuick10Components, - QtQuick20Components, - QtQuickControls10 - }; - - QtQuickApp(); - - void setComponentSet(ComponentSet componentSet); - ComponentSet componentSet() const; - - void setMainQml(Mode mode, const QString &file = QString()); - Mode mainQmlMode() const; - -#ifndef CREATORLESSTEST - virtual Core::GeneratedFiles generateFiles(QString *errorMessage) const; -#else - bool generateFiles(QString *errorMessage) const; -#endif // CREATORLESSTEST - bool useExistingMainQml() const; - - static const int StubVersion; - -protected: - virtual QString appViewerBaseName() const; - QString fileName(ExtendedFileType type) const; - QString appViewerOriginSubDir() const; - -private: - virtual QByteArray generateFileExtended(int fileType, - bool *versionAndCheckSum, QString *comment, QString *errorMessage) const; - virtual QString pathExtended(int fileType) const; - virtual QString originsRoot() const; - virtual QString mainWindowClassName() const; - virtual int stubVersionMinor() const; - virtual bool adaptCurrentMainCppTemplateLine(QString &line) const; - virtual void handleCurrentProFileTemplateLine(const QString &line, - QTextStream &proFileTemplate, QTextStream &proFile, - bool &commentOutNextLine) const; - QList<AbstractGeneratedFileInfo> updateableFiles(const QString &mainProFile) const; - QList<DeploymentFolder> deploymentFolders() const; - - QString componentSetDir(ComponentSet componentSet) const; - - QFileInfo m_mainQmlFile; - Mode m_mainQmlMode; - ComponentSet m_componentSet; -}; - -} // namespace Internal -} // namespace QmakeProjectManager - -#endif // QTQUICKAPP_H |