sl@0
|
1 |
/****************************************************************************
|
sl@0
|
2 |
**
|
sl@0
|
3 |
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
sl@0
|
4 |
** Contact: http://www.qt-project.org/legal
|
sl@0
|
5 |
**
|
sl@0
|
6 |
** This file is part of the Qt Quick Controls module of the Qt Toolkit.
|
sl@0
|
7 |
**
|
sl@0
|
8 |
** $QT_BEGIN_LICENSE:LGPL$
|
sl@0
|
9 |
** Commercial License Usage
|
sl@0
|
10 |
** Licensees holding valid commercial Qt licenses may use this file in
|
sl@0
|
11 |
** accordance with the commercial license agreement provided with the
|
sl@0
|
12 |
** Software or, alternatively, in accordance with the terms contained in
|
sl@0
|
13 |
** a written agreement between you and Digia. For licensing terms and
|
sl@0
|
14 |
** conditions see http://qt.digia.com/licensing. For further information
|
sl@0
|
15 |
** use the contact form at http://qt.digia.com/contact-us.
|
sl@0
|
16 |
**
|
sl@0
|
17 |
** GNU Lesser General Public License Usage
|
sl@0
|
18 |
** Alternatively, this file may be used under the terms of the GNU Lesser
|
sl@0
|
19 |
** General Public License version 2.1 as published by the Free Software
|
sl@0
|
20 |
** Foundation and appearing in the file LICENSE.LGPL included in the
|
sl@0
|
21 |
** packaging of this file. Please review the following information to
|
sl@0
|
22 |
** ensure the GNU Lesser General Public License version 2.1 requirements
|
sl@0
|
23 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
sl@0
|
24 |
**
|
sl@0
|
25 |
** In addition, as a special exception, Digia gives you certain additional
|
sl@0
|
26 |
** rights. These rights are described in the Digia Qt LGPL Exception
|
sl@0
|
27 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
sl@0
|
28 |
**
|
sl@0
|
29 |
** GNU General Public License Usage
|
sl@0
|
30 |
** Alternatively, this file may be used under the terms of the GNU
|
sl@0
|
31 |
** General Public License version 3.0 as published by the Free Software
|
sl@0
|
32 |
** Foundation and appearing in the file LICENSE.GPL included in the
|
sl@0
|
33 |
** packaging of this file. Please review the following information to
|
sl@0
|
34 |
** ensure the GNU General Public License version 3.0 requirements will be
|
sl@0
|
35 |
** met: http://www.gnu.org/copyleft/gpl.html.
|
sl@0
|
36 |
**
|
sl@0
|
37 |
**
|
sl@0
|
38 |
** $QT_END_LICENSE$
|
sl@0
|
39 |
**
|
sl@0
|
40 |
****************************************************************************/
|
sl@0
|
41 |
|
sl@0
|
42 |
#ifndef QTQUICKCONTROLSAPPLICATION_H
|
sl@0
|
43 |
#define QTQUICKCONTROLSAPPLICATION_H
|
sl@0
|
44 |
|
sl@0
|
45 |
#ifdef QT_WIDGETS_LIB
|
sl@0
|
46 |
#include <QtWidgets/QApplication>
|
sl@0
|
47 |
#else
|
sl@0
|
48 |
#include <QtGui/QGuiApplication>
|
sl@0
|
49 |
#endif
|
sl@0
|
50 |
|
sl@0
|
51 |
QT_BEGIN_NAMESPACE
|
sl@0
|
52 |
|
sl@0
|
53 |
#ifdef QT_WIDGETS_LIB
|
sl@0
|
54 |
#define QtQuickControlsApplication QApplication
|
sl@0
|
55 |
#else
|
sl@0
|
56 |
#define QtQuickControlsApplication QGuiApplication
|
sl@0
|
57 |
#endif
|
sl@0
|
58 |
|
sl@0
|
59 |
QT_END_NAMESPACE
|
sl@0
|
60 |
|
sl@0
|
61 |
#endif // QTQUICKCONTROLSAPPLICATION_H
|