summaryrefslogtreecommitdiff
path: root/src/location/qlocation.cpp
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.cpp
parenta6c0789b1240a13b534f5ba5b4e3d57e3e504e01 (diff)
downloadqtlocation-aebfc4134f72865c3c676612c3f8e358ef102656.tar.gz
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.cpp')
-rw-r--r--src/location/qlocation.cpp83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/location/qlocation.cpp b/src/location/qlocation.cpp
new file mode 100644
index 00000000..6f6118a4
--- /dev/null
+++ b/src/location/qlocation.cpp
@@ -0,0 +1,83 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 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$
+**
+****************************************************************************/
+
+#include <QtLocation/QLocation>
+
+QT_BEGIN_NAMESPACE
+
+namespace QLocation {
+
+/*!
+ \namespace QLocation
+ \inmodule QtLocation
+ \target QLocation Namespace
+
+ \brief The QLocation namespace contains miscellaneous identifiers used throughout the
+ QtLocation module.
+*/
+
+/*!
+ \enum QLocation::Visibility
+
+ Defines the visibility of a QPlace or QPlaceCategory.
+
+ \value UnspecifiedVisibility No explicit visibility has been defined.
+ \value DeviceVisibility Places and categories with DeviceVisibility are only stored on
+ the local device.
+ \value PrivateVisibility Places and categories with PrivateVisibility are only visible
+ to the current user. The data may be stored either locally or
+ on a remote service or both.
+ \value PublicVisibility Places and categories with PublicVisibility are visible to
+ everyone.
+
+ A particular manager may support one or more visibility scopes. For example a manager from one provider may only provide places
+ that are public to everyone, whilst another may provide both public and private places.
+
+ \note The meaning of unspecified visibility depends on the context it is used.
+
+ When \e saving a place or category, the
+ default visibility is unspecified meaning that the manager chooses an appropriate visibility scope for the item.
+
+ When \e searching for places, unspecified means that places of any scope is returned.
+*/
+}
+
+QT_END_NAMESPACE