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

marble

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

#include <FoursquarePlugin.h>

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

Public Member Functions

 FoursquarePlugin ()
 
 FoursquarePlugin (const MarbleModel *marbleModel)
 
QString copyrightYears () const
 
QString description () const
 
QString guiString () const
 
QIcon icon () const
 
virtual void initialize ()
 
Q_INVOKABLE bool isAuthenticated ()
 
QString name () const
 
QString nameId () const
 
QList< PluginAuthor > pluginAuthors () const
 
Q_INVOKABLE bool storeAccessToken (const QString &tokenUrl)
 
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
 
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
 
virtual QString runtimeTrace () const
 
virtual void setSettings (const QHash< QString, QVariant > &settings)
 
virtual QHash< QString, QVariant > settings () const
 
virtual const QList
< QActionGroup * > * 
toolbarActionGroups () const
 
bool visible () 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
 

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)
 
QStringList settingKeys ()
 
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)
 
- Protected Member Functions inherited from Marble::RenderPlugin
bool eventFilter (QObject *, QEvent *)
 
- 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
 

Detailed Description

Definition at line 19 of file FoursquarePlugin.h.

Constructor & Destructor Documentation

Marble::FoursquarePlugin::FoursquarePlugin ( )

Definition at line 17 of file FoursquarePlugin.cpp.

Marble::FoursquarePlugin::FoursquarePlugin ( const MarbleModel *  marbleModel)
explicit

Definition at line 22 of file FoursquarePlugin.cpp.

Member Function Documentation

QString Marble::FoursquarePlugin::copyrightYears ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 61 of file FoursquarePlugin.cpp.

QString Marble::FoursquarePlugin::description ( ) const
virtual

Returns a user description of the plugin.

Implements Marble::PluginInterface.

Definition at line 56 of file FoursquarePlugin.cpp.

QString Marble::FoursquarePlugin::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 41 of file FoursquarePlugin.cpp.

QIcon Marble::FoursquarePlugin::icon ( ) const
virtual

Returns an icon for the plugin.

Implements Marble::PluginInterface.

Definition at line 73 of file FoursquarePlugin.cpp.

void Marble::FoursquarePlugin::initialize ( )
virtual

Implements Marble::RenderPluginInterface.

Definition at line 29 of file FoursquarePlugin.cpp.

bool Marble::FoursquarePlugin::isAuthenticated ( )

Checks if there is an access token stored.

Definition at line 78 of file FoursquarePlugin.cpp.

QString Marble::FoursquarePlugin::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 36 of file FoursquarePlugin.cpp.

QString Marble::FoursquarePlugin::nameId ( ) const
virtual

Returns the unique name of the plugin.

Examples: "starrysky", "openrouteservice"

Implements Marble::PluginInterface.

Definition at line 46 of file FoursquarePlugin.cpp.

QList< PluginAuthor > Marble::FoursquarePlugin::pluginAuthors ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 66 of file FoursquarePlugin.cpp.

bool Marble::FoursquarePlugin::storeAccessToken ( const QString &  tokenUrl)

Stores the access token.

Parameters
urlA dummy URL that has a fragment named access_token
See also
https://developer.foursquare.com/overview/auth

Definition at line 85 of file FoursquarePlugin.cpp.

QString Marble::FoursquarePlugin::version ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 51 of file FoursquarePlugin.cpp.


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