On Wednesday, 17 de August de 2011 13:50:47 David Faure wrote: > For source compatibility reasons, my idea would be to create a > QCoreDesktopServices, and let QDesktopServices inherit from it, and move the > location-related methods to the Core class. This way, existing code that > uses QDesktopServices will keep compiling.
"Core Desktop" doesn't make sense. A class with "Desktop" in the name, when not referring to .desktop files, shouldn't be in QtCore. I'd rather you just name it QStandardPaths or QSystemServices or something similar. > My current code for this is at > http://www.davidfaure.fr/2011/qcoredesktopservices.h > > In terms of implementation, I wonder if Windows and Mac have "system paths" > for config and data. Unless I get some input on this, I'll just implement it > to return the current storageLocation() string. > > Any objections/input before I finish this and make a merge request with it? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
