1 /***************************************************************************
3 ** This file is part of Qt Creator
5 ** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
7 ** Contact: Qt Software Information (qt-info@nokia.com)
10 ** Non-Open Source Usage
12 ** Licensees may use this file in accordance with the Qt Beta Version
13 ** License Agreement, Agreement version 2.2 provided with the Software or,
14 ** alternatively, in accordance with the terms contained in a written
15 ** agreement between you and Nokia.
17 ** GNU General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU General
20 ** Public License versions 2.0 or 3.0 as published by the Free Software
21 ** Foundation and appearing in the file LICENSE.GPL included in the packaging
22 ** of this file. Please review the following information to ensure GNU
23 ** General Public Licensing requirements will be met:
25 ** http://www.fsf.org/licensing/licenses/info/GPLv2.html and
26 ** http://www.gnu.org/copyleft/gpl.html.
28 ** In addition, as a special exception, Nokia gives you certain additional
29 ** rights. These rights are described in the Nokia Qt GPL Exception
30 ** version 1.3, included in the file GPL_EXCEPTION.txt in this package.
32 ***************************************************************************/
34 #ifndef NAMESPACE_GLOBAL_H
35 #define NAMESPACE_GLOBAL_H
37 #include <QtCore/qglobal.h>
39 #if QT_VERSION < 0x040400
40 # define QT_ADD_NAMESPACE(name) ::name
41 # define QT_USE_NAMESPACE
42 # define QT_BEGIN_NAMESPACE
43 # define QT_END_NAMESPACE
44 # define QT_BEGIN_INCLUDE_NAMESPACE
45 # define QT_END_INCLUDE_NAMESPACE
46 # define QT_BEGIN_MOC_NAMESPACE
47 # define QT_END_MOC_NAMESPACE
48 # define QT_FORWARD_DECLARE_CLASS(name) class name;
49 # define QT_MANGLE_NAMESPACE(name) name
52 #endif // NAMESPACE_GLOBAL_H