[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/data
Thibaut Gridel
tgridel at free.fr
Thu Jan 27 22:24:30 CET 2011
SVN commit 1217553 by tgridel:
dead code
M +0 -5 GeoDataContainer.cpp
M +0 -3 GeoDataContainer.h
M +0 -5 GeoDataDocument.cpp
M +0 -1 GeoDataDocument.h
M +0 -5 GeoDataFolder.cpp
M +0 -3 GeoDataFolder.h
M +0 -28 GeoDataGeometry.cpp
M +0 -4 GeoDataGeometry.h
M +0 -5 GeoDataLineString.cpp
M +0 -4 GeoDataLineString.h
M +0 -5 GeoDataLinearRing.cpp
M +0 -3 GeoDataLinearRing.h
M +0 -6 GeoDataMultiGeometry.cpp
M +0 -3 GeoDataMultiGeometry.h
M +0 -5 GeoDataPlacemark.cpp
M +0 -3 GeoDataPlacemark.h
M +0 -5 GeoDataPolygon.cpp
M +0 -4 GeoDataPolygon.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataContainer.cpp #1217552:1217553
@@ -50,11 +50,6 @@
return static_cast<GeoDataContainerPrivate*>(d);
}
-const char* GeoDataContainer::nodeType() const
-{
- return p()->nodeType();
-}
-
QVector<GeoDataFolder*> GeoDataContainer::folderList() const
{
QVector<GeoDataFolder*> results;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataContainer.h #1217552:1217553
@@ -53,9 +53,6 @@
/// Destruct the GeoDataContainer
virtual ~GeoDataContainer();
- /// Provides type information for downcasting a GeoData
- virtual const char* nodeType() const;
-
/**
* @brief A convenience function that returns all folders in this container.
* @return A QVector of GeoDataFolder
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataDocument.cpp #1217552:1217553
@@ -53,11 +53,6 @@
return static_cast<GeoDataDocumentPrivate*>(d);
}
-const char* GeoDataDocument::nodeType() const
-{
- return p()->nodeType();
-}
-
QString GeoDataDocument::fileName() const
{
return p()->m_filename;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataDocument.h #1217552:1217553
@@ -59,7 +59,6 @@
~GeoDataDocument();
/// Provides type information for downcasting a GeoData
- virtual const char* nodeType() const;
virtual bool isGeoDataDocument() const { return true; }
/**
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataFolder.cpp #1217552:1217553
@@ -70,9 +70,4 @@
return static_cast<GeoDataFolderPrivate*>(d);
}
-const char* GeoDataFolder::nodeType() const
-{
- return p()->nodeType();
}
-
-}
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataFolder.h #1217552:1217553
@@ -54,9 +54,6 @@
GeoDataFolder( const GeoDataFolder& other );
~GeoDataFolder();
- /// Provides type information for downcasting a GeoData
- virtual const char* nodeType() const;
-
private:
GeoDataFolderPrivate *p() const;
};
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataGeometry.cpp #1217552:1217553
@@ -38,34 +38,6 @@
d->ref.ref();
}
-GeoDataGeometry::GeoDataGeometry( const GeoDataPoint& other )
- : GeoDataObject(),
- d( other.GeoDataGeometry::d )
-{
- d->ref.ref();
-}
-
-GeoDataGeometry::GeoDataGeometry( const GeoDataPolygon& other )
- : GeoDataObject(),
- d( other.GeoDataGeometry::d )
-{
- d->ref.ref();
-}
-
-GeoDataGeometry::GeoDataGeometry( const GeoDataLineString& other )
- : GeoDataObject(),
- d( other.GeoDataGeometry::d )
-{
- d->ref.ref();
-}
-
-GeoDataGeometry::GeoDataGeometry( const GeoDataMultiGeometry& other )
- : GeoDataObject(),
- d( other.GeoDataGeometry::d )
-{
- d->ref.ref();
-}
-
GeoDataGeometry::GeoDataGeometry( GeoDataGeometryPrivate* priv )
: GeoDataObject(),
d( priv )
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataGeometry.h #1217552:1217553
@@ -52,10 +52,6 @@
public:
GeoDataGeometry();
GeoDataGeometry( const GeoDataGeometry& other );
- GeoDataGeometry( const GeoDataPolygon& other );
- GeoDataGeometry( const GeoDataPoint& other );
- GeoDataGeometry( const GeoDataLineString& other );
- GeoDataGeometry( const GeoDataMultiGeometry& other );
virtual bool operator==( const GeoDataGeometry& other ) const { Q_UNUSED(other); return false; };
GeoDataGeometry& operator=( const GeoDataGeometry& other );
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLineString.cpp #1217552:1217553
@@ -51,11 +51,6 @@
return static_cast<GeoDataLineStringPrivate*>(d);
}
-const char* GeoDataLineString::nodeType() const
-{
- return p()->nodeType();
-}
-
void GeoDataLineStringPrivate::interpolateDateLine( const GeoDataCoordinates & previousCoords,
const GeoDataCoordinates & currentCoords,
GeoDataCoordinates & previousAtDateLine,
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLineString.h #1217552:1217553
@@ -98,10 +98,6 @@
*/
virtual ~GeoDataLineString();
- /// Provides type information for downcasting a GeoNode
- virtual const char* nodeType() const;
-
-
/*!
\brief Returns whether a LineString is a closed polygon.
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLinearRing.cpp #1217552:1217553
@@ -32,11 +32,6 @@
{
}
-const char* GeoDataLinearRing::nodeType() const
-{
- return p()->nodeType();
-}
-
bool GeoDataLinearRing::isClosed() const
{
return true;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLinearRing.h #1217552:1217553
@@ -86,9 +86,6 @@
*/
virtual ~GeoDataLinearRing();
- /// Provides type information for downcasting a GeoNode
- virtual const char* nodeType() const;
-
/*!
\brief Returns whether a LinearRing is a closed polygon.
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataMultiGeometry.cpp #1217552:1217553
@@ -42,12 +42,6 @@
return static_cast<GeoDataMultiGeometryPrivate*>(d);
}
-const char* GeoDataMultiGeometry::nodeType() const
-{
- return p()->nodeType();
-}
-
-
GeoDataLatLonAltBox GeoDataMultiGeometry::latLonAltBox() const
{
QVector<GeoDataGeometry*>::const_iterator it = p()->m_vector.constBegin();
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataMultiGeometry.h #1217552:1217553
@@ -38,9 +38,6 @@
virtual ~GeoDataMultiGeometry();
- /// Provides type information for downcasting a GeoData
- virtual const char* nodeType() const;
-
virtual GeoDataLatLonAltBox latLonAltBox() const;
int size() const;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.cpp #1217552:1217553
@@ -59,11 +59,6 @@
return static_cast<GeoDataPlacemarkPrivate*>(d);
}
-const char* GeoDataPlacemark::nodeType() const
-{
- return p()->nodeType();
-}
-
GeoDataGeometry* GeoDataPlacemark::geometry() const
{
return p()->m_geometry;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.h #1217552:1217553
@@ -79,9 +79,6 @@
*/
bool operator==( const GeoDataPlacemark& other ) const;
- /// Provides type information for downcasting a GeoNode
- virtual const char* nodeType() const;
-
/**
* Return the coordinate of the placemark as a GeoDataCoordinates
*/
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPolygon.cpp #1217552:1217553
@@ -41,11 +41,6 @@
return static_cast<GeoDataPolygonPrivate*>(d);
}
-const char* GeoDataPolygon::nodeType() const
-{
- return p()->nodeType();
-}
-
bool GeoDataPolygon::isClosed() const
{
return true;
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPolygon.h #1217552:1217553
@@ -99,10 +99,6 @@
virtual ~GeoDataPolygon();
- /// Provides type information for downcasting a GeoNode
- virtual const char* nodeType() const;
-
-
/*!
\brief Returns whether a Polygon is a closed polygon.
More information about the Marble-commits
mailing list