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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • runner
  • cache
CachePlugin.cpp
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 Thibaut Gridel <tgridel@free.fr>
9 
10 #include "CachePlugin.h"
11 #include "CacheRunner.h"
12 
13 namespace Marble
14 {
15 
16 CachePlugin::CachePlugin( QObject *parent ) :
17  ParseRunnerPlugin( parent )
18 {
19 }
20 
21 QString CachePlugin::name() const
22 {
23  return tr( "Cache File Parser" );
24 }
25 
26 QString CachePlugin::nameId() const
27 {
28  return "Cache";
29 }
30 
31 QString CachePlugin::version() const
32 {
33  return "1.0";
34 }
35 
36 QString CachePlugin::description() const
37 {
38  return tr( "Create GeoDataDocument from Cache Files" );
39 }
40 
41 QString CachePlugin::copyrightYears() const
42 {
43  return "2011";
44 }
45 
46 QList<PluginAuthor> CachePlugin::pluginAuthors() const
47 {
48  return QList<PluginAuthor>()
49  << PluginAuthor( "Thibaut Gridel", "tgridel@free.fr" );
50 }
51 
52 QString CachePlugin::fileFormatDescription() const
53 {
54  return tr( "Marble Cache Files" );
55 }
56 
57 QStringList CachePlugin::fileExtensions() const
58 {
59  return QStringList() << "cache";
60 }
61 
62 ParsingRunner* CachePlugin::newRunner() const
63 {
64  return new CacheRunner;
65 }
66 
67 }
68 
69 Q_EXPORT_PLUGIN2( CachePlugin, Marble::CachePlugin )
70 
71 #include "CachePlugin.moc"
Marble::CachePlugin
Definition: CachePlugin.h:18
Marble::CachePlugin::name
QString name() const
Returns the user-visible name of the plugin.
Definition: CachePlugin.cpp:21
Marble::CachePlugin::fileExtensions
QStringList fileExtensions() const
Returns the file extensions associated with the file format.
Definition: CachePlugin.cpp:57
Marble::PluginAuthor
Definition: PluginInterface.h:28
Marble::CachePlugin::copyrightYears
QString copyrightYears() const
Definition: CachePlugin.cpp:41
QObject
Marble::CachePlugin::newRunner
virtual ParsingRunner * newRunner() const
Plugin factory method to create a new runner instance.
Definition: CachePlugin.cpp:62
Marble::CachePlugin::pluginAuthors
QList< PluginAuthor > pluginAuthors() const
Definition: CachePlugin.cpp:46
Marble::ParsingRunner
Definition: ParsingRunner.h:23
Q_EXPORT_PLUGIN2
#define Q_EXPORT_PLUGIN2(a, b)
Definition: marble_export.h:34
Marble::ParseRunnerPlugin
A plugin for Marble to execute a parsing task.
Definition: ParseRunnerPlugin.h:27
CachePlugin.h
Marble::CachePlugin::CachePlugin
CachePlugin(QObject *parent=0)
Definition: CachePlugin.cpp:16
Marble::CachePlugin::description
QString description() const
Returns a user description of the plugin.
Definition: CachePlugin.cpp:36
CacheRunner.h
Marble::CachePlugin::fileFormatDescription
QString fileFormatDescription() const
Returns a short description of the supported file format.
Definition: CachePlugin.cpp:52
Marble::CacheRunner
Definition: CacheRunner.h:18
Marble::CachePlugin::nameId
QString nameId() const
Returns the unique name of the plugin.
Definition: CachePlugin.cpp:26
Marble::CachePlugin::version
QString version() const
Definition: CachePlugin.cpp:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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