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

marble

  • Marble
  • PhotoPluginModel
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Marble::PhotoPluginModel Class Reference

#include <PhotoPluginModel.h>

Inheritance diagram for Marble::PhotoPluginModel:
Inheritance graph
[legend]

Public Member Functions

 PhotoPluginModel (const MarbleModel *marbleModel, QObject *parent=0)
 
void setLicenseValues (const QString &licenses)
 
void setMarbleWidget (MarbleWidget *widget)
 
- Public Member Functions inherited from Marble::AbstractDataPluginModel
 AbstractDataPluginModel (const QString &name, const MarbleModel *marbleModel, QObject *parent=0)
 
virtual ~AbstractDataPluginModel ()
 
QStringList favoriteItems () const
 
QObject * favoritesModel ()
 
AbstractDataPluginItem * findItem (const QString &id) const
 
bool isFavoriteItemsOnly () const
 
bool itemExists (const QString &id) const
 
QList< AbstractDataPluginItem * > items (const ViewportParams *viewport, qint32 number=10)
 
const MarbleModel * marbleModel () const
 
virtual void setFavoriteItems (const QStringList &list)
 
void setFavoriteItemsOnly (bool favoriteOnly)
 
void setItemSettings (QHash< QString, QVariant > itemSettings)
 
QList< AbstractDataPluginItem * > whichItemAt (const QPoint &curpos)
 

Static Public Member Functions

static QUrl generateUrl (const QString &service, const QString &method, const QHash< QString, QString > &options)
 

Protected Member Functions

void getAdditionalItems (const GeoDataLatLonAltBox &box, qint32 number=10)
 
void parseFile (const QByteArray &file)
 
- Protected Member Functions inherited from Marble::AbstractDataPluginModel
void downloadDescriptionFile (const QUrl &url)
 
void downloadItem (const QUrl &url, const QString &type, AbstractDataPluginItem *item)
 
bool fileExists (const QString &fileName) const
 
bool fileExists (const QString &id, const QString &type) const
 
QString generateFilename (const QString &id, const QString &type) const
 
QString generateFilepath (const QString &id, const QString &type) const
 
virtual void getItem (const QString &id)
 
 MARBLE_DEPRECATED (void downloadItemData(const QUrl &url, const QString &type, AbstractDataPluginItem *item))
 
void registerItemProperties (const QMetaObject &item)
 

Additional Inherited Members

- Public Slots inherited from Marble::AbstractDataPluginModel
void addItemsToList (const QList< AbstractDataPluginItem * > &items)
 
void addItemToList (AbstractDataPluginItem *item)
 
void clear ()
 
- Signals inherited from Marble::AbstractDataPluginModel
void favoriteItemsChanged (const QStringList &favoriteItems)
 
void favoriteItemsOnlyChanged ()
 
void itemsUpdated ()
 
- Properties inherited from Marble::AbstractDataPluginModel
QObject favoritesModel
 

Detailed Description

Definition at line 24 of file PhotoPluginModel.h.

Constructor & Destructor Documentation

PhotoPluginModel::PhotoPluginModel ( const MarbleModel *  marbleModel,
QObject *  parent = 0 
)
explicit

Definition at line 36 of file PhotoPluginModel.cpp.

Member Function Documentation

QUrl PhotoPluginModel::generateUrl ( const QString &  service,
const QString &  method,
const QHash< QString, QString > &  options 
)
static

Definition at line 42 of file PhotoPluginModel.cpp.

void PhotoPluginModel::getAdditionalItems ( const GeoDataLatLonAltBox &  box,
qint32  number = 10 
)
protectedvirtual

Generates the download url for the description file from the web service depending on the box surrounding the view and the number of files to show.

Implements Marble::AbstractDataPluginModel.

Definition at line 71 of file PhotoPluginModel.cpp.

void PhotoPluginModel::parseFile ( const QByteArray &  file)
protectedvirtual

The reimplementation has to parse the file and should generate items.

This items have to be scheduled to downloadItemData or could be directly added to the list, depending on if they have to download information to be shown.

Reimplemented from Marble::AbstractDataPluginModel.

Definition at line 127 of file PhotoPluginModel.cpp.

void PhotoPluginModel::setLicenseValues ( const QString &  licenses)

Definition at line 157 of file PhotoPluginModel.cpp.

void PhotoPluginModel::setMarbleWidget ( MarbleWidget *  widget)

Definition at line 152 of file PhotoPluginModel.cpp.


The documentation for this class was generated from the following files:
  • PhotoPluginModel.h
  • PhotoPluginModel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 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