Is the platform prefix supposed to be replaced by the real platform name, or 
does it stay "platform" for all platforms?

So.. is it symbian_type/symbianType or platform_type/platformType?

If it's the latter case, how would a developer find out which platform supports 
that property?

Anthony

-----Original Message-----
From: qt-components-bounces+anthony.sham=nokia....@qt.nokia.com 
[mailto:qt-components-bounces+anthony.sham=nokia....@qt.nokia.com] On Behalf Of 
Malmqvist Mathias (Nokia-MS/London)
Sent: Tuesday, March 15, 2011 5:16 AM
To: adriano.reze...@openbossa.org
Cc: qt-components@qt.nokia.com; Jokela Pekka.E (Nokia-MS-Qt/Tampere); Karlsson 
Erik.B (Nokia-MS/Helsinki)
Subject: Re: [Qt-components] Platform-specific properties in a cross-platform 
world

D'oh!

;)


Cheers
Mathias


________________________________________
From: ext Adriano Rezende [adriano.reze...@openbossa.org]
Sent: Tuesday, March 15, 2011 12:01 PM
To: Malmqvist Mathias (Nokia-MS/London)
Cc: Nurmi J-P (Nokia-MS-Qt/Tampere); Rantanen Vesa (Nokia-MS/Tampere); Jokela 
Pekka.E (Nokia-MS-Qt/Tampere); Hartz Henrik (Nokia-MS-Qt/Oslo); 
qt-components@qt.nokia.com; Karlsson Erik.B (Nokia-MS/Helsinki)
Subject: Re: [Qt-components] Platform-specific properties in a cross-platform 
world

On Mon, Mar 14, 2011 at 9:26 AM,  <mathias.malmqv...@nokia.com> wrote:
>
>> That's nice! Don't we have a clear winner here? :)
>
> *smiling* It's funny, 'causer I actually prefer the "dash" option, i.e.
> property string platform-iconSize: "medium"
> over
> property string platform.iconSize: "medium"
> property string platform_iconSize: "medium"

"platform-iconSize" is not a valid identifier, since minus can be used as an 
operator.
If QML grammar accepted this, we would end up with something like
this: { var foo, bar, foo-bar; foo = foo-bar; }

Br,
Adriano
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components
_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to