On Monday 18 January 2016 12:48:34 René J.V. Bertin wrote: > David, > > In your idea of a QSP::addStandardLocation() approach, would that always add > to a "global" list (= affect all subsequent calls to standardLocations()), or > would you also consider a variant that only affects the next call?
Global. "next call" is horrible API (another library or another thread might snatch that from under you). > Also, if you think we should avoid thinking of this as "providing an > XDG-compliant mode", we should probably also find a different name for the > KStandardPaths wrapper class we've been discussing. Thoughts (other than > QMoreStandardPaths :))? > FWIW, that wrapper class could implement the variant mentioned above that > adds an element to standardLocations() transiently. Seems like a mix of two ideas. If you route calls via a wrapper, then it can do the extra lookups itself, it doesn't need to add paths to QSP. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5 _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel