GeoDataDocument role

Review Request #6418 - Created Jan. 27, 2011 and updated

Information
Thibaut Gridel
kde
trunk
Reviewers
marble
Provide a role to geodata documents, opening the door to selective use of geodata.
For instance, filtering user-centric documents only in file view, marking map placemarks as read-only etc etc

  
Dennis Nienhüser
Looks good to me.
I think

FileLoader(
 const QString &file,
 DocumentRole role = UnknownDocument,
 QObject* parent = 0 )

would be more convenient and Qt-style.
Somehow I prefer TrackDocument to TrackingDocument. Maybe also add a RouteDocument value?
  1. I meant TrackingDocument as _the_ document held by PositionTracking, which should not be deleted, I would see TrackDocument as a more specific kind of doc i.e. gpx?
Loading...