[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Getting DeviceInterface from Device class
From: Kevin Ottens <ervin () kde ! org>
Date: 2009-09-08 14:39:34
Message-ID: 200909081639.43060.ervin () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 8 September 2009 12:58:06 David Hubner wrote:
> At the moment i have to:
>
> int type = STARTTYPEENUM;
> BEGIN WHILE type = 0 TO ENDTYPEENUM
> qlist device = GetType(type);
> BEGIN
> qlist.append = new devicewrapper(device, type);
> END
> END
>
> to go through the individual types.
I see, I'd advise staying with this approach then as there's no way to get all
the interfaces of a device in one go.
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic