summaryrefslogtreecommitdiffstats
path: root/src/location/qlocation.h
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2013-01-28 13:29:09 +0800
committerStephen Kelly <stephen.kelly@kdab.com>2013-02-10 23:47:27 +0100
commitaebfc4134f72865c3c676612c3f8e358ef102656 (patch)
tree3df83b0574dba7a90c4a14dee141554140a22713 /src/location/qlocation.h
parenta6c0789b1240a13b534f5ba5b4e3d57e3e504e01 (diff)
Enable the "#include <QLocation>" camel-case header
Rename qtlocation.h/cpp -> qlocation.h/cpp, and use #pragma qt_class() to generate the camel-case header during compilation. Part of the Header Consistency Project (http://lists.qt-project.org/pipermail/development/2012-October/007570.html) Change-Id: I2899c9ca0969c37365bd7e1da5d5a15e9632f5f0 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/location/qlocation.h')
-rw-r--r--src/location/qlocation.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/location/qlocation.h b/src/location/qlocation.h
new file mode 100644
index 00000000..6e6c71ec
--- /dev/null
+++ b/src/location/qlocation.h
@@ -0,0 +1,70 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the QtLocation module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** 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.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QLOCATION_H
+#define QLOCATION_H
+
+#if 0
+#pragma qt_class(QLocation)
+#endif
+
+#include <QtLocation/qlocationglobal.h>
+
+QT_BEGIN_NAMESPACE
+
+namespace QLocation {
+
+enum Visibility {
+ UnspecifiedVisibility = 0x00,
+ DeviceVisibility = 0x01,
+ PrivateVisibility = 0x02,
+ PublicVisibility = 0x04
+};
+
+Q_DECLARE_FLAGS(VisibilityScope, Visibility)
+
+}
+
+Q_DECLARE_OPERATORS_FOR_FLAGS(QLocation::VisibilityScope)
+
+QT_END_NAMESPACE
+
+#endif // QLOCATION_H