• 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
  • postalcode
PostalCodePlugin.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 2011 Valery Kharitonov <kharvd@gmail.com>
9 //
10 
11 #ifndef POSTALCODEPLUGIN_H
12 #define POSTALCODEPLUGIN_H
13 
14 #include "AbstractDataPlugin.h"
15 #include "RenderPlugin.h"
16 #include "RenderPluginInterface.h"
17 
18 namespace Marble {
19 
20 class PostalCodePlugin : public AbstractDataPlugin {
21  Q_OBJECT
22  Q_PLUGIN_METADATA( IID "org.kde.edu.marble.PostalCodePlugin" )
23  Q_INTERFACES( Marble::RenderPluginInterface )
24  MARBLE_PLUGIN( PostalCodePlugin )
25 
26  public:
27  PostalCodePlugin();
28 
29  explicit PostalCodePlugin( const MarbleModel *marbleModel );
30 
31  virtual void initialize();
32 
33  QString name() const;
34 
35  QString guiString() const;
36 
37  QString nameId() const;
38 
39  QString version() const;
40 
41  QString description() const;
42 
43  QString copyrightYears() const;
44 
45  QList<PluginAuthor> pluginAuthors() const;
46 
47  QIcon icon() const;
48 };
49 
50 }
51 
52 #endif // POSTALCODEPLUGIN_H
Marble::RenderPluginInterface
The class that specifies the Marble layer interface of a plugin.
Definition: RenderPluginInterface.h:30
RenderPluginInterface.h
Marble::PostalCodePlugin
Definition: PostalCodePlugin.h:20
Marble::AbstractDataPlugin
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:45
Marble::PostalCodePlugin::PostalCodePlugin
PostalCodePlugin()
Definition: PostalCodePlugin.cpp:16
Marble::PostalCodePlugin::icon
QIcon icon() const
Returns an icon for the plugin.
Definition: PostalCodePlugin.cpp:70
Marble::PostalCodePlugin::name
QString name() const
Returns the user-visible name of the plugin.
Definition: PostalCodePlugin.cpp:34
Marble::PostalCodePlugin::description
QString description() const
Returns a user description of the plugin.
Definition: PostalCodePlugin.cpp:65
QString
QList
Marble::PostalCodePlugin::version
QString version() const
Definition: PostalCodePlugin.cpp:49
Marble::PostalCodePlugin::initialize
virtual void initialize()
Definition: PostalCodePlugin.cpp:28
Marble::PostalCodePlugin::nameId
QString nameId() const
Returns the unique name of the plugin.
Definition: PostalCodePlugin.cpp:44
Marble::PostalCodePlugin::pluginAuthors
QList< PluginAuthor > pluginAuthors() const
Definition: PostalCodePlugin.cpp:59
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
RenderPlugin.h
Marble::PostalCodePlugin::guiString
QString guiString() const
String that should be displayed in GUI.
Definition: PostalCodePlugin.cpp:39
AbstractDataPlugin.h
Marble::RenderPlugin::marbleModel
const MarbleModel * marbleModel() const
Access to the MarbleModel.
Definition: RenderPlugin.cpp:83
QIcon
Marble::PostalCodePlugin::copyrightYears
QString copyrightYears() const
Definition: PostalCodePlugin.cpp:54
MARBLE_PLUGIN
#define MARBLE_PLUGIN(T)
Definition: RenderPlugin.h:340
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