Warning, /education/marble/docs/release_notes/APIChanges-0.12.txt is written in an unsupported language. File is not indexed.

0001 
0002 2011-01-10  Dennis Nienhüser <nienhueser@kde.org>
0003 
0004 * Change the methods
0005    virtual QDialog *RenderPlugin::aboutDialog() const;
0006    virtual QDialog *RenderPlugin::configDialog() const;
0007    QStandardItem   *RenderPlugin::item() const;
0008   to
0009    virtual QDialog *RenderPlugin::aboutDialog();
0010    virtual QDialog *RenderPlugin::configDialog();
0011    QStandardItem   *RenderPlugin::item();
0012   to be able to implement lazy loading of dialogs without cheating. Lazy
0013   creation of these dialogs is recommended to avoid wasting resources
0014   for dialogs that are likely not used.
0015 
0016 
0017 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0018 
0019 * Remove the following methods from MarbleMap and MarbleWidget:
0020    void addGeoDataFile( const QString &filename );
0021    void addGeoDataString( const QString& data, const QString& key = "data" );
0022    void removeGeoData( const QString& key );
0023     -> use the respective methods of MarbleModel
0024    void openGpxFile( const QString &filename );
0025     -> use MarbleModel::addGeoDataFile(...);
0026    MARBLE_DEPRECATED( void addPlacemarkFile( const QString &filename ) );
0027    MARBLE_DEPRECATED( void addPlacemarkData( const QString& data, const QString& key = "data" ) );
0028    MARBLE_DEPRECATED( void removePlacemarkKey( const QString& key ) );
0029     -> use addGeoDataFile, addGeoDataString, removeGeoData of MarbleModel
0030 
0031 
0032 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0033 
0034 * Remove the following methods from MarbleMap and MarbleWidget, use the respective methods of MarbleModel:
0035     void clearPersistentTileCache();
0036     void setPersistentTileCacheLimit( quint64 kiloBytes );
0037     quint64 persistentTileCacheLimit() const;
0038 
0039 
0040 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0041 
0042 * Remove the following methods from MarbleMap and MarbleWidget, use the respective methods of MarbleModel:
0043     FileViewModel * fileViewModel() const;
0044     QAbstractItemModel *placemarkModel() const;
0045     QItemSelectionModel *placemarkSelectionModel() const;
0046 
0047 
0048 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0049 
0050 * Remove the following method from MarbleMap and MarbleWidget, use the respective method of MarbleModel:
0051     SunLocator* sunLocator();
0052 
0053 
0054 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0055 
0056 * Remove the following method from MarbleWidget:
0057     void addBookmark( const GeoDataPlacemark &bookmark, const QString &folderName ) const;
0058     QString bookmarkFile() const;
0059     bool loadBookmarkFile( const QString& relativeFileName);
0060     QVector<GeoDataFolder*> bookmarkFolders();
0061     void removeAllBookmarks();
0062     void addNewBookmarkFolder( const QString& name ) const;
0063   Instead, use the respective methods of BookmarkManager, accessible through MarbleModel.
0064   Hint: The methods bookmarkFolders() and loadBookmarkFile() are named folders() and loadFile() in BookmarkManager.
0065 
0066 
0067 2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0068 
0069 * Remove from MarbleMap and MarbleWidget:
0070     void updateSun();
0071     void centerSun();
0072   Use centerOn() with the appropriate (lat, lon) values instead of centerSun().
0073   Call model()->sunLocator()->update() instead of updateSun().
0074 
0075 
0076 2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0077 
0078 * Remove MarbleWidget::MarbleWidget( MarbleMap *, ... ).
0079   This constructor does not work on a conceptual level (MarbleMap being tightly associated with e.g. MarbleWidget's size).
0080   Thus, there shouldn't be any code using it.
0081 
0082 
0083 2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0084 
0085 * Remove from MarbleWidget:
0086     MarbleMap *map();
0087   Use the respective methods of MarbleWidget directly.
0088 
0089 
0090 2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0091 
0092 * Remove the following methods from MarbleWidget:
0093     void home( qreal &lon, qreal &lat, int& zoom );
0094     void setHome( qreal lon, qreal lat, int zoom = 1050 );
0095     void setHome( const GeoDataCoordinates& homePoint, int zoom = 1050 );
0096   Use the respective methods of MarbleModel.
0097 
0098 
0099 2011-03-30  Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0100 
0101 * Remove MarbleDataFacade. Use the following methods of MarbleModel instead:
0102     MarbleDataFacade      MarbleModel
0103     ========================================
0104     planetRadius()        planetRadius()
0105     target()              planetId()
0106     planet()              planet()
0107     dateTime()            clockDateTime()
0108     pluginManager()       pluginManager()
0109     positionTracking()    positionTracking()
0110     routingManager()      routingManager()
0111     placemarkModel()      placemarkModel()
0112     fileViewModel()       fileViewModel()
0113     treeModel()           treeModel()