• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • panoramio
PanoramioModel.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 #ifndef PANORAMIOMODEL_H
12 #define PANORAMIOMODEL_H
13 
14 #include "AbstractDataPluginModel.h"
15 #include "jsonparser.h"
16 
17 namespace Marble
18 {
19 
20 const quint32 numberOfImagesPerFetch = 7;
21 
22 class PanoramioModel : public AbstractDataPluginModel
23 {
24  Q_OBJECT
25 
26  public:
27  explicit PanoramioModel( QObject *parent = 0 );
28 
29  protected:
34  QUrl descriptionFileUrl( GeoDataLatLonAltBox *box, qint32 number = 10 );
35 
41  void parseFile( QByteArray file );
42 
43  private:
44  jsonParser panoramioJsonParser;
45 };
46 
47 }
48 
49 #endif // PANORAMIOMODEL_H
AbstractDataPluginModel.h
Marble::numberOfImagesPerFetch
const quint32 numberOfImagesPerFetch
Definition: PanoramioModel.h:20
Marble::AbstractDataPluginModel
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
QObject
Marble::PanoramioModel::parseFile
void parseFile(QByteArray file)
The reimplementation has to parse the file and should generate widgets.
Definition: PanoramioModel.cpp:46
Marble::PanoramioModel::descriptionFileUrl
QUrl descriptionFileUrl(GeoDataLatLonAltBox *box, qint32 number=10)
Generates the download url for the description file from the web service depending on the box surroun...
Definition: PanoramioModel.cpp:30
Marble::PanoramioModel
Definition: PanoramioModel.h:22
jsonParser
Definition: panoramio/jsonparser.h:46
Marble::PanoramioModel::PanoramioModel
PanoramioModel(QObject *parent=0)
Definition: PanoramioModel.cpp:25
jsonparser.h
Marble::GeoDataLatLonAltBox
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal