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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • photo
FlickrParser.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 FLICKRPARSER_H
12 #define FLICKRPARSER_H
13 
14 #include <QList>
15 #include <QXmlStreamReader>
16 
17 class QByteArray;
18 class QObject;
19 
20 namespace Marble
21 {
22 
23 class MarbleWidget;
24 class PhotoPluginItem;
25 
26 class FlickrParser : public QXmlStreamReader
27 {
28 public:
29  FlickrParser( Marble::MarbleWidget *widget,
30  QList<PhotoPluginItem *> *list, QObject *parent );
31 
32  bool read( QByteArray data );
33 
34 private:
35  void readUnknownElement();
36  void readFlickr();
37  void readPhotos();
38  void readPhoto();
39 
40  MarbleWidget *m_marbleWidget;
41  QList<PhotoPluginItem *> *m_list;
42  QObject *m_parent;
43 };
44 
45 } // Marble namespace
46 
47 #endif // FLICKRPARSER
QByteArray
Marble::FlickrParser
Definition: FlickrParser.h:26
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
QObject
Marble::FlickrParser::FlickrParser
FlickrParser(Marble::MarbleWidget *widget, QList< PhotoPluginItem * > *list, QObject *parent)
Definition: FlickrParser.cpp:23
QList
Marble::FlickrParser::read
bool read(QByteArray data)
Definition: FlickrParser.cpp:32
QXmlStreamReader
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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
  • 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