~ubuntu-branches/ubuntu/quantal/qtmobility/quantal

« back to all changes in this revision

Viewing changes to plugins/declarative/location/location.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-16 16:18:07 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101116161807-k2dzt2nyse975r3l
Tags: 1.1.0-0ubuntu1
* New upstream release
* Syncronise with Debian, no remaining changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
**
10
10
** $QT_BEGIN_LICENSE:LGPL$
11
11
** Commercial Usage
12
 
** Licensees holding valid Qt Commercial licenses may use this file in
13
 
** accordance with the Qt Solutions Commercial License Agreement provided
14
 
** with the Software or, alternatively, in accordance with the terms
 
12
** Licensees holding valid Qt Commercial licenses may use this file in 
 
13
** accordance with the Qt Commercial License Agreement provided with
 
14
** the Software or, alternatively, in accordance with the terms
15
15
** contained in a written agreement between you and Nokia.
16
16
**
17
17
** GNU Lesser General Public License Usage
34
34
** ensure the GNU General Public License version 3.0 requirements will be
35
35
** met: http://www.gnu.org/copyleft/gpl.html.
36
36
**
37
 
** Please note Third Party Software included with Qt Solutions may impose
38
 
** additional restrictions and it is the user's responsibility to ensure
39
 
** that they have met the licensing requirements of the GPL, LGPL, or Qt
40
 
** Solutions Commercial license and the relevant license of the Third
41
 
** Party Software they are using.
42
 
**
43
37
** If you are unsure which license is appropriate for your use, please
44
38
** contact the sales department at qt-sales@nokia.com.
45
39
** $QT_END_LICENSE$
54
48
#include "qdeclarativelandmarkcategorymodel_p.h"
55
49
 
56
50
#include "qgeomapobject.h"
 
51
#include "qdeclarativegeoboundingbox_p.h"
 
52
#include "qdeclarativegeoaddress_p.h"
 
53
#include "qdeclarativegeoplace_p.h"
57
54
#include "qdeclarativecoordinate_p.h"
 
55
 
 
56
#include "qdeclarativegeoserviceprovider_p.h"
58
57
#include "qdeclarativegraphicsgeomap_p.h"
59
58
#include "qdeclarativegeomapobject_p.h"
 
59
#include "qdeclarativegeomapobjectborder_p.h"
60
60
#include "qdeclarativegeomapcircleobject_p.h"
61
61
#include "qdeclarativegeomappixmapobject_p.h"
62
62
#include "qdeclarativegeomappolygonobject_p.h"
91
91
        qmlRegisterType<QDeclarativeLandmarkCategory>(uri, 1, 1, "LandmarkCategory");
92
92
        qmlRegisterType<QDeclarativeLandmarkCategoryModel>(uri, 1, 1, "LandmarkCategoryModel");
93
93
        qmlRegisterUncreatableType<QDeclarativeLandmarkFilterBase>(uri, 1, 1, "LandmarkFilterBase", QDeclarativeLandmarkFilterBase::tr("LandmarkFilterBase is an abstract class"));
 
94
        qmlRegisterUncreatableType<QDeclarativeLandmarkAbstractModel>(uri, 1, 1, "LandmarkAbstractModel", QDeclarativeLandmarkAbstractModel::tr("LandmarkAbstractModel is an abstract class"));
94
95
        qmlRegisterType<QDeclarativeCoordinate>(uri, 1, 1, "Coordinate");
 
96
        qmlRegisterType<QDeclarativeGeoBoundingBox>(uri, 1, 1, "BoundingBox");
 
97
        qmlRegisterType<QDeclarativeGeoPlace>(uri, 1, 1, "Place");
 
98
        qmlRegisterType<QDeclarativeGeoAddress>(uri, 1, 1, "Address");
 
99
 
 
100
        qmlRegisterType<QDeclarativeGeoServiceProvider>(uri, 1, 1, "Plugin");
 
101
        qmlRegisterType<QDeclarativeGeoServiceProviderParameter>(uri, 1, 1, "PluginParameter");
95
102
        qmlRegisterType<QDeclarativeGraphicsGeoMap>(uri, 1, 1, "Map");
 
103
        qmlRegisterType<QDeclarativeGeoMapObjectBorder>();
96
104
        qmlRegisterType<QGeoMapObject>(uri, 1, 1, "QGeoMapObject");
97
 
        qmlRegisterType<QDeclarativeGeoMapObject>(uri, 1, 1, "MapObject");
98
 
        qmlRegisterType<QDeclarativeGeoMapCircleObject>(uri, 1, 1, "MapCircleObject");
99
 
        qmlRegisterType<QDeclarativeGeoMapPolygonObject>(uri, 1, 1, "MapPolygonObject");
100
 
        qmlRegisterType<QDeclarativeGeoMapPolylineObject>(uri, 1, 1, "MapPolylineObject");
101
 
        qmlRegisterType<QDeclarativeGeoMapRectangleObject>(uri, 1, 1, "MapRectangleObject");
102
 
        qmlRegisterType<QDeclarativeGeoMapTextObject>(uri, 1, 1, "MapTextObject");
103
 
        qmlRegisterType<QDeclarativeGeoMapPixmapObject>(uri, 1, 1, "MapPixmapObject");
 
105
        qmlRegisterType<QDeclarativeGeoMapObject>(uri, 1, 1, "MapGroup");
 
106
        qmlRegisterType<QDeclarativeGeoMapCircleObject>(uri, 1, 1, "MapCircle");
 
107
        qmlRegisterType<QDeclarativeGeoMapPolygonObject>(uri, 1, 1, "MapPolygon");
 
108
        qmlRegisterType<QDeclarativeGeoMapPolylineObject>(uri, 1, 1, "MapPolyline");
 
109
        qmlRegisterType<QDeclarativeGeoMapRectangleObject>(uri, 1, 1, "MapRectangle");
 
110
        qmlRegisterType<QDeclarativeGeoMapTextObject>(uri, 1, 1, "MapText");
 
111
        qmlRegisterType<QDeclarativeGeoMapPixmapObject>(uri, 1, 1, "MapImage");
104
112
    }
105
113
};
106
114