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

marble

  • kde-4.x
  • 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 <[email protected]>
9 //
10 
11 #ifndef POSTALCODEPLUGIN_H
12 #define POSTALCODEPLUGIN_H
13 
14 #include "AbstractDataPlugin.h"
15 
16 namespace Marble {
17 
18 class PostalCodePlugin : public AbstractDataPlugin {
19  Q_OBJECT
20  Q_PLUGIN_METADATA(IID "org.kde.marble.PostalCodePlugin")
21  Q_INTERFACES( Marble::RenderPluginInterface )
22  MARBLE_PLUGIN( PostalCodePlugin )
23 
24  public:
25  PostalCodePlugin();
26 
27  explicit PostalCodePlugin( const MarbleModel *marbleModel );
28 
29  void initialize() override;
30 
31  QString name() const override;
32 
33  QString guiString() const override;
34 
35  QString nameId() const override;
36 
37  QString version() const override;
38 
39  QString description() const override;
40 
41  QString copyrightYears() const override;
42 
43  QVector<PluginAuthor> pluginAuthors() const override;
44 
45  QIcon icon() const override;
46 };
47 
48 }
49 
50 #endif // POSTALCODEPLUGIN_H
Marble::RenderPluginInterface
The class that specifies the Marble layer interface of a plugin.
Definition: RenderPluginInterface.h:30
Marble::PostalCodePlugin::guiString
QString guiString() const override
Definition: PostalCodePlugin.cpp:41
Marble::PostalCodePlugin
Definition: PostalCodePlugin.h:18
Marble::AbstractDataPlugin
An abstract class for plugins that show data that has a geo coordinate.
Definition: AbstractDataPlugin.h:38
Marble::PostalCodePlugin::version
QString version() const override
Definition: PostalCodePlugin.cpp:51
Marble::PostalCodePlugin::PostalCodePlugin
PostalCodePlugin()
Definition: PostalCodePlugin.cpp:18
Marble::PostalCodePlugin::icon
QIcon icon() const override
Returns an icon for the plugin.
Definition: PostalCodePlugin.cpp:72
Marble::PostalCodePlugin::name
QString name() const override
Returns the user-visible name of the plugin.
Definition: PostalCodePlugin.cpp:36
Marble::PostalCodePlugin::copyrightYears
QString copyrightYears() const override
Definition: PostalCodePlugin.cpp:56
QString
Marble::PostalCodePlugin::initialize
void initialize() override
Definition: PostalCodePlugin.cpp:30
Marble::PostalCodePlugin::description
QString description() const override
Returns a user description of the plugin.
Definition: PostalCodePlugin.cpp:67
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:91
QVector
Marble::PostalCodePlugin::nameId
QString nameId() const override
Returns the unique name of the plugin.
Definition: PostalCodePlugin.cpp:46
Marble::PostalCodePlugin::pluginAuthors
QVector< PluginAuthor > pluginAuthors() const override
Definition: PostalCodePlugin.cpp:61
AbstractDataPlugin.h
QIcon
MARBLE_PLUGIN
#define MARBLE_PLUGIN(T)
Definition: RenderPlugin.h:340
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 01:47:22 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
  •   KmPlot
  • libkeduvocdocument
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   src
  •   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