Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is QDir::temp() suitable to use as directory for disk cache on Symbian devices
QtWS25 Last Chance

Is QDir::temp() suitable to use as directory for disk cache on Symbian devices

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mario
    wrote on last edited by
    #1

    I'm planning to store about 200k of data using QNetworkDiskCache (which requires a directory to place the files).

    Does QDir:temp() actually use QDesktopServices::storageLocation() to find out the 'temp' dir location?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      http://qt.gitorious.org/qt/qt/blobs/master/src/gui/util/qdesktopservices_s60.cpp#line406
      http://qt.gitorious.org/qt/qt/blobs/master/src/corelib/io/qdir.h#line216

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mario
        wrote on last edited by
        #3

        Thanks for pointing out the source code (which I was too lazy to lookup myself).

        I think I'll go with the desktopservice's storageLocation function.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved