[prev in list] [next in list] [prev in thread] [next in thread] 

List:       meego-dev
Subject:    Re: [MeeGo-dev] QSystemStorageInfo::logicalDriveChange signal does
From:       David Boosalis <david.boosalis () gmail ! com>
Date:       2011-06-10 6:20:14
Message-ID: BANLkTik+0YVsj0kbGVuXaRMaBahUakPONw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Rusty

I looked at the URL,I think I can make use of how it uses the DBus, perhaps
latter on what I wanted will be get fixed or added to QMobility

Thanks for your advise

David



On Thu, Jun 9, 2011 at 5:19 PM, Rusty Lynch <rusty.lynch@intel.com> wrote:

>  On 06/09/2011 03:18 PM, David Boosalis wrote:
>
> Not much is written about this signal
> (QsystemStorageInfo::logicalDriveChange)) I was hoping to get a notice in my
> app via this signal when I put in a USB stick on a Meego 1.2 device, but it
> is not the case.
>
> Has anybody else used this class and signal, is there another way to do
> this besides listening for a DBus event ?
>
>
>
> A few months ago when we had a need for this in meego-ux, we ended up
> having to create a QAbstractListModel subclass that pulled data from the
> udisk dbus interface.  If you ended going down that path then you could lift
> the implementation from:
>
>
> https://meego.gitorious.org/meego-ux/meego-ux-components/trees/master/src/models
>
> Today nothing is using this model so it's possible some bit rot has set in,
> but i don't think so.
>
>     --rusty
>

[Attachment #5 (text/html)]

Rusty<br><br>I looked at the URL,I think I can make use of how it uses the DBus, \
perhaps latter on what I wanted will be get fixed or added to QMobility<br><br>Thanks \
for your advise<br><br>David<br><br><br><br><div class="gmail_quote"> On Thu, Jun 9, \
2011 at 5:19 PM, Rusty Lynch <span dir="ltr">&lt;<a \
href="mailto:rusty.lynch@intel.com">rusty.lynch@intel.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="im">
On 06/09/2011 03:18 PM, David Boosalis wrote:
<blockquote type="cite">Not much is written about this signal 
(QsystemStorageInfo::logicalDriveChange)) I was hoping to get a notice
in my app via this signal when I put in a USB stick on a Meego 1.2
device, but it is not the case.<br>
  <br>
Has anybody else used this class and signal, is there another way to do
this besides listening for a DBus event ?<br>
  <br>
  <br>
</blockquote>
<br></div>
A few months ago when we had a need for this in meego-ux, we ended up
having to create a QAbstractListModel subclass that pulled data from
the udisk dbus interface.  If you ended going down that path then you
could lift the implementation from:<br>
<br>

<a href="https://meego.gitorious.org/meego-ux/meego-ux-components/trees/master/src/models" \
target="_blank">https://meego.gitorious.org/meego-ux/meego-ux-components/trees/master/src/models</a><br>
 <br>
Today nothing is using this model so it&#39;s possible some bit rot has set
in, but i don&#39;t think so.<br>
<br>
    --rusty<br>
</div>

</blockquote></div><br>



_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic