Commit 6aab8e9d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove methods which were deprecated since 2011/2012

parent 23fb2b7e
......@@ -374,15 +374,6 @@ void AbstractDataPluginModel::parseFile( const QByteArray& file )
Q_UNUSED( file );
}
void AbstractDataPluginModel::downloadItemData( const QUrl& url,
const QString& type,
AbstractDataPluginItem *item )
{
downloadItem( url, type, item );
connect( item, SIGNAL(destroyed(QObject*)), this, SLOT(removeItem(QObject*)) );
addItemToList( item );
}
void AbstractDataPluginModel::downloadItem( const QUrl& url,
const QString& type,
AbstractDataPluginItem *item )
......
......@@ -142,16 +142,6 @@ public Q_SLOTS:
**/
void downloadItem( const QUrl& url, const QString& type, AbstractDataPluginItem *item );
/**
* Downloads the file from @p url. @p item -> addDownloadedFile() will be called when the
* download is finished. Additionally initialized() items will be added to the item list
* after the download. It checks if a item with the same id is already in the list and
* ignores and deletes the item in this case.
* @param: The type of the download (to be specified by the subclasser)
* @deprecated Please use downloadItem() and addItemsToList() for efficiency
**/
MARBLE_DEPRECATED( void downloadItemData( const QUrl& url, const QString& type, AbstractDataPluginItem *item ) );
/**
* Download the description file from the @p url.
*/
......
......@@ -320,12 +320,6 @@ qreal ViewportParams::centerLatitude() const
return d->m_centerLatitude;
}
void ViewportParams::centerCoordinates( qreal &centerLon, qreal &centerLat ) const
{
centerLon = d->m_centerLongitude;
centerLat = d->m_centerLatitude;
}
const GeoDataLatLonAltBox& ViewportParams::viewLatLonAltBox() const
{
if (d->m_dirtyBox) {
......
......@@ -110,7 +110,6 @@ class MARBLE_EXPORT ViewportParams
qreal centerLongitude() const;
qreal centerLatitude() const;
MARBLE_DEPRECATED( void centerCoordinates( qreal &centerLon, qreal &centerLat ) const );
/**
* @brief Get the screen coordinates corresponding to geographical coordinates in the map.
......
......@@ -295,11 +295,6 @@ void GeoDataPlacemark::setCoordinate( const GeoDataCoordinates &point )
setGeometry ( new GeoDataPoint( point ) );
}
void GeoDataPlacemark::setCoordinate( const GeoDataPoint &point )
{
setGeometry ( new GeoDataPoint( point ) );
}
void GeoDataPlacemark::setGeometry( GeoDataGeometry *entry )
{
detach();
......
......@@ -141,8 +141,6 @@ class GEODATA_EXPORT GeoDataPlacemark: public GeoDataFeature
*/
void setCoordinate( const GeoDataCoordinates &coordinate );
GEODATA_DEPRECATED( void setCoordinate( const GeoDataPoint &point ) );
/**
* Sets the current Geometry of this Placemark. @see geometry() and the class
* overview for description of the geometry concept. The geometry can be set
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment