• 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
  • lib
  • marble
  • blendings
BlendingFactory.h
Go to the documentation of this file.
1 // Copyright 2010 Jens-Michael Hoffmann <jmho@c-xx.com>
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library. If not, see <http://www.gnu.org/licenses/>.
15 
16 #ifndef MARBLE_BLENDING_FACTORY_H
17 #define MARBLE_BLENDING_FACTORY_H
18 
19 #include <QHash>
20 #include <QString>
21 
22 namespace Marble
23 {
24 class Blending;
25 class SunLightBlending;
26 class SunLocator;
27 
28 class BlendingFactory
29 {
30  public:
31  explicit BlendingFactory( const SunLocator *sunLocator );
32  ~BlendingFactory();
33 
34  void setLevelZeroLayout( int levelZeroColumns, int levelZeroRows );
35 
36  Blending const * findBlending( QString const & name ) const;
37 
38  private:
39  Q_DISABLE_COPY(BlendingFactory)
40  SunLightBlending *const m_sunLightBlending;
41  QHash<QString, Blending const *> m_blendings;
42 };
43 
44 }
45 
46 #endif
Marble::BlendingFactory::findBlending
Blending const * findBlending(QString const &name) const
Definition: BlendingFactory.cpp:31
Marble::SunLightBlending
Definition: SunLightBlending.h:29
Marble::BlendingFactory
Definition: BlendingFactory.h:28
Marble::Blending
Definition: Blending.h:25
Marble::BlendingFactory::~BlendingFactory
~BlendingFactory()
Definition: BlendingFactory.cpp:93
Marble::BlendingFactory::setLevelZeroLayout
void setLevelZeroLayout(int levelZeroColumns, int levelZeroRows)
Definition: BlendingFactory.cpp:26
Marble::SunLocator
Definition: SunLocator.h:33
QHash
QString
Marble::BlendingFactory::BlendingFactory
BlendingFactory(const SunLocator *sunLocator)
Definition: BlendingFactory.cpp:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 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