• 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
TileCoordsPyramid.h
Go to the documentation of this file.
1 // This library is free software; you can redistribute it and/or
2 // modify it under the terms of the GNU Lesser General Public
3 // License as published by the Free Software Foundation; either
4 // version 2.1 of the License, or (at your option) any later version.
5 //
6 // This library is distributed in the hope that it will be useful,
7 // but WITHOUT ANY WARRANTY; without even the implied warranty of
8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9 // Lesser General Public License for more details.
10 //
11 // You should have received a copy of the GNU Lesser General Public
12 // License along with this library. If not, see <http://www.gnu.org/licenses/>.
13 
14 #ifndef MARBLE_TILECOORDSPYRAMID_H
15 #define MARBLE_TILECOORDSPYRAMID_H
16 
17 #include <QRect>
18 #include "marble_export.h"
19 
20 namespace Marble
21 {
22 
23 class MARBLE_EXPORT TileCoordsPyramid
24 {
25  public:
26  TileCoordsPyramid( int const topLevel, int const bottomLevel );
27  TileCoordsPyramid( TileCoordsPyramid const & other );
28  TileCoordsPyramid();
29  TileCoordsPyramid & operator=( TileCoordsPyramid const & rhs );
30  ~TileCoordsPyramid();
31 
32  int topLevel() const;
33  int bottomLevel() const;
34  void setBottomLevelCoords( QRect const & coords );
35  QRect coords( int const level ) const;
36 
40  qint64 tilesCount() const;
41 
42  private:
43  void swap( TileCoordsPyramid & other );
44  class Private;
45  Private * d; // not const, needs to be swapable
46 };
47 
48 }
49 
50 #endif
QRect
Marble::TileCoordsPyramid
Definition: TileCoordsPyramid.h:23
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
marble_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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