From aebfc4134f72865c3c676612c3f8e358ef102656 Mon Sep 17 00:00:00 2001 From: Sze Howe Koh Date: Mon, 28 Jan 2013 13:29:09 +0800 Subject: Enable the "#include " 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 Reviewed-by: Stephen Kelly --- src/location/qlocation.cpp | 83 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/location/qlocation.cpp (limited to 'src/location/qlocation.cpp') 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 + +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 -- cgit v1.2.1