summaryrefslogtreecommitdiff
path: root/src/location/places/qplaceicon_p.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-10-05 14:26:06 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-11 06:16:59 +0200
commit3dcb12116420cd29580b28c8e976c17ea605d185 (patch)
treedc803abea29a593f402ec81975e32dc8d31855ed /src/location/places/qplaceicon_p.h
parentc3b41f8823e9f500bf2fde0213c6302c5ff0d12f (diff)
downloadqtlocation-3dcb12116420cd29580b28c8e976c17ea605d185.tar.gz
Add Icon support to Places
Change-Id: I559c96427db542dd71122f937dff90c900a02241 Reviewed-on: http://codereview.qt-project.org/6041 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com> Reviewed-by: abcd <qt_abcd1@ovi.com>
Diffstat (limited to 'src/location/places/qplaceicon_p.h')
-rw-r--r--src/location/places/qplaceicon_p.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/location/places/qplaceicon_p.h b/src/location/places/qplaceicon_p.h
new file mode 100644
index 00000000..9d129991
--- /dev/null
+++ b/src/location/places/qplaceicon_p.h
@@ -0,0 +1,80 @@
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the QtLocation module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** 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, Nokia gives you certain additional
+** rights. These rights are described in the Nokia 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.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLACEICON_P_H
+#define QPLACEICON_P_H
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
+#include <QMap>
+#include <QUrl>
+#include <QSharedData>
+
+QT_BEGIN_NAMESPACE
+
+class QPlaceManager;
+class QPlaceIconPrivate: public QSharedData
+{
+public:
+ QPlaceIconPrivate();
+ QPlaceIconPrivate(const QPlaceIconPrivate &other);
+ ~QPlaceIconPrivate();
+
+ QPlaceIconPrivate &operator=(const QPlaceIconPrivate &other);
+ bool operator == (const QPlaceIconPrivate &other) const;
+
+ QPlaceManager *manager;
+ QUrl baseUrl;
+ QUrl fullUrl;
+};
+
+QT_END_NAMESPACE
+
+#endif