Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2006
Re: QDirModel, mounted volumes on OS X


Message 1 in thread

Get all the directories in "/Volumes/". That is where OS X mounts them.

Beware of directories that start with a "." as those are probably stale..


On 10/31/06 5:38 PM, "Patrick Stinson" <patrickkidd.lists@xxxxxxxxx> wrote:

> Is there a way to qdir model to iterate over the mounted volumes like
> Finder does in OS X?   If not I could do it manually if there was
> another qt class that would do that. I'm looking for mount paths,
> names, and correct icons.
> 
> thanks

-- 
 [ signature omitted ] 

Message 2 in thread

yeah, ok. so the easiest way to do that is to create a QListWidget and
populate it yourself...

On 10/31/06, Mike Jackson <mike.jackson@xxxxxxx> wrote:
> Get all the directories in "/Volumes/". That is where OS X mounts them.
>
> Beware of directories that start with a "." as those are probably stale..
>
>
> On 10/31/06 5:38 PM, "Patrick Stinson" <patrickkidd.lists@xxxxxxxxx> wrote:
>
> > Is there a way to qdir model to iterate over the mounted volumes like
> > Finder does in OS X?   If not I could do it manually if there was
> > another qt class that would do that. I'm looking for mount paths,
> > names, and correct icons.
> >
> > thanks
>
> --
> Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
>
>
>
>
>


-- 
 [ signature omitted ]