• 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
  • foursquare
FoursquareModel.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 2012 Utku Aydın <utkuaydin34@gmail.com>
9 //
10 
11 #ifndef FOURSQUAREMODEL_H
12 #define FOURSQUAREMODEL_H
13 #include <AbstractDataPluginModel.h>
14 
15 namespace Marble
16 {
17 
18 class FoursquareModel : public AbstractDataPluginModel
19 {
20  Q_OBJECT
21 
22 public:
23  explicit FoursquareModel( const MarbleModel *marbleModel, QObject *parent = 0 );
24  ~FoursquareModel();
25 
26 protected:
31  virtual void getAdditionalItems( const GeoDataLatLonAltBox& box,
32  qint32 number = 10 );
33 
38  void parseFile( const QByteArray& file );
39 };
40 
41 }
42 
43 #endif // FOURSQUAREMODEL_H
AbstractDataPluginModel.h
Marble::AbstractDataPluginModel
An abstract data model (not based on QAbstractModel) for a AbstractDataPlugin.
Definition: AbstractDataPluginModel.h:45
Marble::AbstractDataPluginModel::marbleModel
const MarbleModel * marbleModel() const
Definition: AbstractDataPluginModel.cpp:269
Marble::FoursquareModel::parseFile
void parseFile(const QByteArray &file)
Parses the file which getAdditionalItems downloads and prepares the data for usage.
Definition: FoursquareModel.cpp:72
Marble::FoursquareModel::FoursquareModel
FoursquareModel(const MarbleModel *marbleModel, QObject *parent=0)
Definition: FoursquareModel.cpp:30
Marble::FoursquareModel
Definition: FoursquareModel.h:18
QObject
Marble::FoursquareModel::getAdditionalItems
virtual void getAdditionalItems(const GeoDataLatLonAltBox &box, qint32 number=10)
Generates the download url for the description file from the web service depending on the box surroun...
Definition: FoursquareModel.cpp:40
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
Marble::FoursquareModel::~FoursquareModel
~FoursquareModel()
Definition: FoursquareModel.cpp:36
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:49 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