src/gui/util/qdesktopservices.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   291     \note On Symbian OS, ApplicationsLocation always point /sys/bin folder on the same drive
   291     \note On Symbian OS, ApplicationsLocation always point /sys/bin folder on the same drive
   292     with executable. FontsLocation always points to folder on ROM drive. Symbian OS does not
   292     with executable. FontsLocation always points to folder on ROM drive. Symbian OS does not
   293     have desktop concept, DesktopLocation returns same path as DocumentsLocation.
   293     have desktop concept, DesktopLocation returns same path as DocumentsLocation.
   294     Rest of the standard locations point to folder on same drive with executable, except
   294     Rest of the standard locations point to folder on same drive with executable, except
   295     that if executable is in ROM the folder from C drive is returned.
   295     that if executable is in ROM the folder from C drive is returned.
   296 
       
   297     \note On Mac OS X, DataLocation does not include QCoreApplication::organizationName.
       
   298     Use code like this to add it:
       
   299 
       
   300     \code
       
   301     QString location = QDesktopServices::storageLocation(QDesktopServices::DataLocation);
       
   302     #ifdef Q_WS_MAC
       
   303         location.insert(location.count() - QCoreApplication::applicationName().count(),
       
   304             QCoreApplication::organizationName() + "/");
       
   305     #endif
       
   306     \endcode
       
   307 */
   296 */
   308 
   297 
   309 /*!
   298 /*!
   310     \fn QString QDesktopServices::displayName(StandardLocation type)
   299     \fn QString QDesktopServices::displayName(StandardLocation type)
   311 
   300