File: APIChanges-0.12.txt

package info (click to toggle)
marble 4%3A4.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 70,832 kB
  • ctags: 21,649
  • sloc: cpp: 156,963; xml: 39,137; python: 1,041; sh: 406; perl: 108; ruby: 97; makefile: 35
file content (113 lines) | stat: -rw-r--r-- 4,480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113

2011-01-10  Dennis Nienhüser <earthwings@gentoo.org>

* Change the methods
   virtual QDialog *RenderPlugin::aboutDialog() const;
   virtual QDialog *RenderPlugin::configDialog() const;
   QStandardItem   *RenderPlugin::item() const;
  to
   virtual QDialog *RenderPlugin::aboutDialog();
   virtual QDialog *RenderPlugin::configDialog();
   QStandardItem   *RenderPlugin::item();
  to be able to implement lazy loading of dialogs without cheating. Lazy
  creation of these dialogs is recommended to avoid wasting resources
  for dialogs that are likely not used.


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following methods from MarbleMap and MarbleWidget:
   void addGeoDataFile( const QString &filename );
   void addGeoDataString( const QString& data, const QString& key = "data" );
   void removeGeoData( const QString& key );
    -> use the respective methods of MarbleModel
   void openGpxFile( const QString &filename );
    -> use MarbleModel::addGeoDataFile(...);
   MARBLE_DEPRECATED( void addPlacemarkFile( const QString &filename ) );
   MARBLE_DEPRECATED( void addPlacemarkData( const QString& data, const QString& key = "data" ) );
   MARBLE_DEPRECATED( void removePlacemarkKey( const QString& key ) );
    -> use addGeoDataFile, addGeoDataString, removeGeoData of MarbleModel


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following methods from MarbleMap and MarbleWidget, use the respective methods of MarbleModel:
    void clearPersistentTileCache();
    void setPersistentTileCacheLimit( quint64 kiloBytes );
    quint64 persistentTileCacheLimit() const;


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following methods from MarbleMap and MarbleWidget, use the respective methods of MarbleModel:
    FileViewModel * fileViewModel() const;
    QAbstractItemModel *placemarkModel() const;
    QItemSelectionModel *placemarkSelectionModel() const;


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following method from MarbleMap and MarbleWidget, use the respective method of MarbleModel:
    SunLocator* sunLocator();


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following method from MarbleWidget:
    void addBookmark( const GeoDataPlacemark &bookmark, const QString &folderName ) const;
    QString bookmarkFile() const;
    bool loadBookmarkFile( const QString& relativeFileName);
    QVector<GeoDataFolder*> bookmarkFolders();
    void removeAllBookmarks();
    void addNewBookmarkFolder( const QString& name ) const;
  Instead, use the respective methods of BookmarkManager, accessible through MarbleModel.
  Hint: The methods bookmarkFolders() and loadBookmarkFile() are named folders() and loadFile() in BookmarkManager.


2011-03-25  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove from MarbleMap and MarbleWidget:
    void updateSun();
    void centerSun();
  Use centerOn() with the appropriate (lat, lon) values instead of centerSun().
  Call model()->sunLocator()->update() instead of updateSun().


2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove MarbleWidget::MarbleWidget( MarbleMap *, ... ).
  This constructor does not work on a conceptual level (MarbleMap being tightly associated with e.g. MarbleWidget's size).
  Thus, there shouldn't be any code using it.


2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove from MarbleWidget:
    MarbleMap *map();
  Use the respective methods of MarbleWidget directly.


2011-03-28  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove the following methods from MarbleWidget:
    void home( qreal &lon, qreal &lat, int& zoom );
    void setHome( qreal lon, qreal lat, int zoom = 1050 );
    void setHome( const GeoDataCoordinates& homePoint, int zoom = 1050 );
  Use the respective methods of MarbleModel.


2011-03-30  Bernhard Beschow <bbeschow@cs.tu-berlin.de>

* Remove MarbleDataFacade. Use the following methods of MarbleModel instead:
    MarbleDataFacade      MarbleModel
    ========================================
    planetRadius()        planetRadius()
    target()              planetId()
    planet()              planet()
    dateTime()            clockDateTime()
    pluginManager()       pluginManager()
    positionTracking()    positionTracking()
    routingManager()      routingManager()
    placemarkModel()      placemarkModel()
    fileViewModel()       fileViewModel()
    treeModel()           treeModel()