sl@0: /**************************************************************************** sl@0: ** sl@0: ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). sl@0: ** Contact: http://www.qt-project.org/legal sl@0: ** sl@0: ** This file is part of the Qt Quick Controls module of the Qt Toolkit. sl@0: ** sl@0: ** $QT_BEGIN_LICENSE:LGPL$ sl@0: ** Commercial License Usage sl@0: ** Licensees holding valid commercial Qt licenses may use this file in sl@0: ** accordance with the commercial license agreement provided with the sl@0: ** Software or, alternatively, in accordance with the terms contained in sl@0: ** a written agreement between you and Digia. For licensing terms and sl@0: ** conditions see http://qt.digia.com/licensing. For further information sl@0: ** use the contact form at http://qt.digia.com/contact-us. sl@0: ** sl@0: ** GNU Lesser General Public License Usage sl@0: ** Alternatively, this file may be used under the terms of the GNU Lesser sl@0: ** General Public License version 2.1 as published by the Free Software sl@0: ** Foundation and appearing in the file LICENSE.LGPL included in the sl@0: ** packaging of this file. Please review the following information to sl@0: ** ensure the GNU Lesser General Public License version 2.1 requirements sl@0: ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. sl@0: ** sl@0: ** In addition, as a special exception, Digia gives you certain additional sl@0: ** rights. These rights are described in the Digia Qt LGPL Exception sl@0: ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. sl@0: ** sl@0: ** GNU General Public License Usage sl@0: ** Alternatively, this file may be used under the terms of the GNU sl@0: ** General Public License version 3.0 as published by the Free Software sl@0: ** Foundation and appearing in the file LICENSE.GPL included in the sl@0: ** packaging of this file. Please review the following information to sl@0: ** ensure the GNU General Public License version 3.0 requirements will be sl@0: ** met: http://www.gnu.org/copyleft/gpl.html. sl@0: ** sl@0: ** sl@0: ** $QT_END_LICENSE$ sl@0: ** sl@0: ****************************************************************************/ sl@0: sl@0: #ifndef QTQUICKCONTROLSAPPLICATION_H sl@0: #define QTQUICKCONTROLSAPPLICATION_H sl@0: sl@0: #ifdef QT_WIDGETS_LIB sl@0: #include sl@0: #else sl@0: #include sl@0: #endif sl@0: sl@0: QT_BEGIN_NAMESPACE sl@0: sl@0: #ifdef QT_WIDGETS_LIB sl@0: #define QtQuickControlsApplication QApplication sl@0: #else sl@0: #define QtQuickControlsApplication QGuiApplication sl@0: #endif sl@0: sl@0: QT_END_NAMESPACE sl@0: sl@0: #endif // QTQUICKCONTROLSAPPLICATION_H