• 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
  • panoramio
PanoramioWidget.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 PANORAMIOWIDGET_H
12 #define PANORAMIOWIDGET_H
13 
14 #include "AbstractDataPluginItem.h"
15 
16 #include <QDate>
17 #include <QPixmap>
18 
19 namespace Marble
20 {
21 
22 const QString standardImageSize = "mini_square";
23 
24 class PanoramioWidget : public AbstractDataPluginItem
25 {
26  Q_OBJECT
27 
28  public:
29  explicit PanoramioWidget( QObject *parent );
30 
31  bool initialized() const;
32 
33  void addDownloadedFile( const QString &url, const QString &type );
34 
35  QDate uploadDate() const;
36 
37  void setUploadDate( QDate uploadDate );
38 
39  void paint( QPainter *painter );
40 
41  bool operator<( const AbstractDataPluginItem *other ) const;
42  private:
43  QImage smallImage;
44  QDate m_uploadDate;
45 };
46 
47 }
48 
49 #endif // PANORAMIOWIDGET_H
Marble::PanoramioWidget::setUploadDate
void setUploadDate(QDate uploadDate)
Definition: PanoramioWidget.cpp:55
Marble::AbstractDataPluginItem
Definition: AbstractDataPluginItem.h:28
Marble::standardImageSize
const QString standardImageSize
Definition: PanoramioWidget.h:22
Marble::PanoramioWidget::initialized
bool initialized() const
Definition: PanoramioWidget.cpp:27
Marble::PanoramioWidget::paint
void paint(QPainter *painter)
Paints the item in item coordinates.
Definition: PanoramioWidget.cpp:67
Marble::PanoramioWidget::uploadDate
QDate uploadDate() const
Definition: PanoramioWidget.cpp:50
QObject
QPainter
QDate
Marble::PanoramioWidget::addDownloadedFile
void addDownloadedFile(const QString &url, const QString &type)
Definition: PanoramioWidget.cpp:32
QString
QImage
Marble::PanoramioWidget
Definition: PanoramioWidget.h:24
Marble::PanoramioWidget::PanoramioWidget
PanoramioWidget(QObject *parent)
Definition: PanoramioWidget.cpp:22
QObject::parent
QObject * parent() const
Marble::PanoramioWidget::operator<
bool operator<(const AbstractDataPluginItem *other) const
Definition: PanoramioWidget.cpp:60
AbstractDataPluginItem.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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