Results 1 to 13 of 13

Thread: MIME database and QMimedata

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb MIME database and QMimedata

    Most linux installations have a mime database to determine which app to use to open a particular type of file.

    Now, does Qt have a provision to query this database? (honestly i don't know the path of this database...) Or can qt decipher all MIME types as set by freedesktop's mime-specs?

    Can QMimeData be used for the above purpose?

    Reason for use: I am displaying the contents of a folder in my widget...I want the user to be able to launch the corresponding app from my widget itself...you are free to suggest an alternative method....

    Thanks

    Nupul
    Last edited by nupul; 10th April 2006 at 08:27. Reason: "reason for use" not specified!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.