Skip to content
Snippets Groups Projects
  • Friedemann Kleint's avatar
    81d69641
    Added ParameterAction class for QActions acting on files. · 81d69641
    Friedemann Kleint authored
    Reduce inconsistencies in tr()-Strings provided for
    QActions that act on a current <something> (mostly files) by
    introducing a ParameterAction class that takes the tr()-Strings
    at construction time and provides a setParameter(QString) slot,
    allows for setting that parameter or an empty string, which
    will cause the displayed text to be updated.
    81d69641
    History
    Added ParameterAction class for QActions acting on files.
    Friedemann Kleint authored
    Reduce inconsistencies in tr()-Strings provided for
    QActions that act on a current <something> (mostly files) by
    introducing a ParameterAction class that takes the tr()-Strings
    at construction time and provides a setParameter(QString) slot,
    allows for setting that parameter or an empty string, which
    will cause the displayed text to be updated.