~ubuntu-branches/ubuntu/wily/marble/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/marble/geodata/writers/kml/KmlDocumentTagWriter.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Jonathan Riddell, Scarlett Clark
  • Date: 2014-07-24 23:38:32 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20140724233832-7v4421t4khrhw487
Tags: 4:4.13.90-0ubuntu1
[ Jonathan Riddell ]
* Switch to libmarblewidget19 for new soversion

[ Scarlett Clark ]
* New upstream beta release
* Update: do_not_install_private_headers. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "GeoDataExtendedData.h"
21
21
#include "GeoDataTimeStamp.h"
22
22
#include "GeoDataTimeSpan.h"
 
23
#include "GeoDataSchema.h"
23
24
 
24
25
#include "GeoDataTypes.h"
25
26
 
29
30
{
30
31
 
31
32
static GeoTagWriterRegistrar s_writerDocument( GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataDocumentType,
32
 
                                                                            kml::kmlTag_nameSpace22),
 
33
                                                                            kml::kmlTag_nameSpaceOgc22),
33
34
                                               new KmlDocumentTagWriter() );
34
35
 
35
36
KmlDocumentTagWriter::KmlDocumentTagWriter() :
48
49
    foreach( const GeoDataStyleMap &map, document->styleMaps() ) {
49
50
        writeElement( &map, writer );
50
51
    }
 
52
    foreach( const GeoDataSchema &schema, document->schemas() ) {
 
53
        writeElement( &schema, writer );
 
54
    }
51
55
 
52
56
    QVector<GeoDataFeature*>::ConstIterator it =  document->constBegin();
53
57
    QVector<GeoDataFeature*>::ConstIterator const end = document->constEnd();