[Marble-commits] KDE/kdeedu/marble/src/lib/graphicsview
Torsten Rahn
tackat at kde.org
Mon Aug 3 06:13:21 CEST 2009
SVN commit 1006175 by rahn:
- KML terminology and consistency with the rest of the source code.
M +4 -4 GeoGraphicsItem.cpp
M +2 -2 GeoGraphicsItem.h
M +2 -2 GeoGraphicsItem_p.h
--- trunk/KDE/kdeedu/marble/src/lib/graphicsview/GeoGraphicsItem.cpp #1006174:1006175
@@ -109,14 +109,14 @@
p()->m_maxLodPixels = pixels;
}
-GeoDataLatLonAltBox GeoGraphicsItem::geoBoundingBox() const
+GeoDataLatLonAltBox GeoGraphicsItem::latLonAltBox() const
{
- return p()->m_geoBoundingBox;
+ return p()->m_latLonAltBox;
}
-void GeoGraphicsItem::setGeoBoundingBox( const GeoDataLatLonAltBox& boundingBox )
+void GeoGraphicsItem::setLatLonAltBox( const GeoDataLatLonAltBox& latLonAltBox )
{
- p()->m_geoBoundingBox = boundingBox;
+ p()->m_latLonAltBox = latLonAltBox;
}
QList<QPointF> GeoGraphicsItem::positions() const
--- trunk/KDE/kdeedu/marble/src/lib/graphicsview/GeoGraphicsItem.h #1006174:1006175
@@ -131,13 +131,13 @@
/**
* Returns the box that is used to determine if an item is active or inactive.
*/
- GeoDataLatLonAltBox geoBoundingBox() const;
+ GeoDataLatLonAltBox latLonAltBox() const;
/**
* Set the box used to determine if an item is active or inactive. If an empty box is passed
* the item will be shown in every case.
*/
- void setGeoBoundingBox( const GeoDataLatLonAltBox& boundingBox );
+ void setLatLonAltBox( const GeoDataLatLonAltBox& latLonAltBox );
/**
* Returns all coordinates of the item in view coordinates according to the given projection.
--- trunk/KDE/kdeedu/marble/src/lib/graphicsview/GeoGraphicsItem_p.h #1006174:1006175
@@ -27,7 +27,7 @@
m_positions(),
m_minLodPixels( 0 ),
m_maxLodPixels( -1 ),
- m_geoBoundingBox()
+ m_latLonAltBox()
{
}
@@ -72,7 +72,7 @@
// LOD
int m_minLodPixels;
int m_maxLodPixels;
- GeoDataLatLonAltBox m_geoBoundingBox;
+ GeoDataLatLonAltBox m_latLonAltBox;
};
}
More information about the Marble-commits
mailing list