Revision 39e0449...

Go back to digest for 6th November 2011

Features in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport] /:

Improve removing of city names

- The data engine now returns stop names as usual but has additional
fields for shortened stop names: "targetShortened" and
"routeStopsShortened"
- The applet displays the shortened stop names, but uses the full
stop names when requesting data from the data engine to prevent
ambiguous stop names
- Stop highlighting / color group filtering works on full stop names
- The city names, ie. the words to be removed from stop names are
now counted within all stop names of the current set of departures,
rather than counting the words independently for each departure.
This prevents having both long and shortened stop names shown in
different departures.

File Changes

Modified 19 files
  •   applet/colorgroups.cpp
  •   applet/departuremodel.cpp
  •   applet/departureprocessor.cpp
  •   applet/publictransport.cpp
  •   applet/publictransport.h
  •   applet/routegraphicsitem.cpp
  •   applet/routegraphicsitem.h
  •   applet/settings.h
  •   applet/stopaction.cpp
  •   applet/stopaction.h
  •   applet/timetablewidget.cpp
  •   applet/timetablewidget.h
  •   engine/departureinfo.cpp
  •   engine/departureinfo.h
  •   engine/enums.h
  •   engine/publictransportdataengine.cpp
  •   engine/timetableaccessor_script.cpp
  •   libpublictransporthelper/departureinfo.cpp
  •   libpublictransporthelper/departureinfo.h
19 files changed in total