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

marble

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

#include <PhotoPlugin.h>

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

Public Member Functions

 PhotoPlugin ()
 
 PhotoPlugin (const MarbleModel *marbleModel)
 
 ~PhotoPlugin ()
 
QDialog * configDialog ()
 
QString copyrightYears () const
 
QString description () const
 
QString guiString () const
 
QIcon icon () const
 
void initialize ()
 
QString name () const
 
QString nameId () const
 
QList< PluginAuthor > pluginAuthors () const
 
virtual void setSettings (const QHash< QString, QVariant > &settings)
 
virtual QHash< QString, QVariant > settings () const
 
QString version () const
 
- Public Member Functions inherited from Marble::AbstractDataPlugin
 AbstractDataPlugin (const MarbleModel *marbleModel)
 
virtual ~AbstractDataPlugin ()
 
QStringList backendTypes () const
 
QObject * favoritesModel ()
 
bool isFavoriteItemsOnly () const
 
bool isInitialized () const
 
AbstractDataPluginModel * model ()
 
const AbstractDataPluginModel * model () const
 
quint32 numberOfItems () const
 
bool render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0)
 
QString renderPolicy () const
 
QStringList renderPosition () const
 
virtual RenderType renderType () const
 
void setDelegate (QDeclarativeComponent *delegate, QGraphicsItem *parent)
 
void setFavoriteItemsOnly (bool favoriteOnly)
 
void setModel (AbstractDataPluginModel *model)
 
void setNumberOfItems (quint32 number)
 
QList< AbstractDataPluginItem * > whichItemAt (const QPoint &curpos)
 
- Public Member Functions inherited from Marble::RenderPlugin
 RenderPlugin (const MarbleModel *marbleModel)
 
virtual ~RenderPlugin ()
 
virtual const QList
< QActionGroup * > * 
actionGroups () const
 
bool enabled () const
 
bool isUserCheckable () const
 
const MarbleModel * marbleModel () const
 
virtual RenderPlugin * newInstance (const MarbleModel *marbleModel) const =0
 
RenderState renderState () const
 
virtual QString runtimeTrace () const
 
virtual const QList
< QActionGroup * > * 
toolbarActionGroups () const
 
bool visible () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 
- Public Member Functions inherited from Marble::RenderPluginInterface
virtual ~RenderPluginInterface ()
 
- Public Member Functions inherited from Marble::PluginInterface
virtual ~PluginInterface ()
 
virtual QString aboutDataText () const
 
- Public Member Functions inherited from Marble::LayerInterface
virtual ~LayerInterface ()
 
virtual qreal zValue () const
 
- Public Member Functions inherited from Marble::DialogConfigurationInterface
virtual ~DialogConfigurationInterface ()
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Additional Inherited Members

- Public Types inherited from Marble::RenderPlugin
enum  RenderType {
  UnknownRenderType, TopLevelRenderType, PanelRenderType, OnlineRenderType,
  ThemeRenderType
}
 
- Public Slots inherited from Marble::AbstractDataPlugin
void handleViewportChange (const ViewportParams *viewport)
 
- Public Slots inherited from Marble::RenderPlugin
QAction * action () const
 
void restoreDefaultSettings ()
 
void setEnabled (bool enabled)
 
bool setSetting (const QString &key, const QVariant &value)
 
QVariant setting (const QString &key) const
 
QStringList settingKeys () const
 
void setUserCheckable (bool isUserCheckable)
 
void setVisible (bool visible)
 
- Signals inherited from Marble::AbstractDataPlugin
void changedNumberOfItems (quint32 number)
 
void favoriteItemsOnlyChanged ()
 
void favoritesModelChanged ()
 
- Signals inherited from Marble::RenderPlugin
void actionGroupsChanged ()
 
void enabledChanged (bool enable)
 
void repaintNeeded (QRegion dirtyRegion=QRegion())
 
void settingsChanged (QString nameId)
 
void userCheckableChanged (bool isUserCheckable)
 
void visibilityChanged (bool visible, const QString &nameId)
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from Marble::AbstractDataPlugin
bool favoriteItemsOnly
 
QObject favoritesModel
 
int numberOfItems
 
- Properties inherited from Marble::RenderPlugin
QString description
 
bool enabled
 
QString name
 
QString nameId
 
bool userCheckable
 
QString version
 
bool visible
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 31 of file PhotoPlugin.h.

Constructor & Destructor Documentation

PhotoPlugin::PhotoPlugin ( )

Definition at line 33 of file PhotoPlugin.cpp.

PhotoPlugin::PhotoPlugin ( const MarbleModel *  marbleModel)
explicit

Definition at line 40 of file PhotoPlugin.cpp.

PhotoPlugin::~PhotoPlugin ( )

Definition at line 58 of file PhotoPlugin.cpp.

Member Function Documentation

QDialog * PhotoPlugin::configDialog ( )
virtual

Returns a pointer to the configuration dialog of the plugin.

Returns
: Pointer to the configuration dialog, which must be non-zero.

Implements Marble::DialogConfigurationInterface.

Definition at line 114 of file PhotoPlugin.cpp.

QString PhotoPlugin::copyrightYears ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 97 of file PhotoPlugin.cpp.

QString PhotoPlugin::description ( ) const
virtual

Returns a user description of the plugin.

Implements Marble::PluginInterface.

Definition at line 92 of file PhotoPlugin.cpp.

bool PhotoPlugin::eventFilter ( QObject *  object,
QEvent *  event 
)
protectedvirtual

Reimplemented from Marble::RenderPlugin.

Definition at line 207 of file PhotoPlugin.cpp.

QString PhotoPlugin::guiString ( ) const
virtual

String that should be displayed in GUI.

Using a "&" you can suggest key shortcuts

Example: "&Stars"

Returns
string for gui usage

Implements Marble::RenderPlugin.

Definition at line 77 of file PhotoPlugin.cpp.

QIcon PhotoPlugin::icon ( ) const
virtual

Returns an icon for the plugin.

Implements Marble::PluginInterface.

Definition at line 109 of file PhotoPlugin.cpp.

void PhotoPlugin::initialize ( )
virtual

Implements Marble::RenderPluginInterface.

Definition at line 64 of file PhotoPlugin.cpp.

QString PhotoPlugin::name ( ) const
virtual

Returns the user-visible name of the plugin.

The user-visible name should be context free, i.e. the name should provide enough information as to what the plugin is about in the context of Marble.

Example: "Starry Sky Background", "OpenRouteService Routing"

Implements Marble::PluginInterface.

Definition at line 72 of file PhotoPlugin.cpp.

QString PhotoPlugin::nameId ( ) const
virtual

Returns the unique name of the plugin.

Examples: "starrysky", "openrouteservice"

Implements Marble::PluginInterface.

Definition at line 82 of file PhotoPlugin.cpp.

QList< PluginAuthor > PhotoPlugin::pluginAuthors ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 102 of file PhotoPlugin.cpp.

void PhotoPlugin::setSettings ( const QHash< QString, QVariant > &  settings)
virtual

Set the settings of the item.

Reimplemented from Marble::RenderPlugin.

Definition at line 196 of file PhotoPlugin.cpp.

QHash< QString, QVariant > PhotoPlugin::settings ( ) const
virtual
Returns
: The settings of the item.

Reimplemented from Marble::RenderPlugin.

Definition at line 186 of file PhotoPlugin.cpp.

QString PhotoPlugin::version ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 87 of file PhotoPlugin.cpp.


The documentation for this class was generated from the following files:
  • PhotoPlugin.h
  • PhotoPlugin.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 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