[Qt-qml] QSG* classes in QtDeclarative will be renamed [was: Re: QtQuick2 considerations]

Kent Hansen kent.hansen at nokia.com
Thu Oct 20 14:16:03 CEST 2011


Den 28. sep. 2011 04:49, skrev ext aaron.kennedy at nokia.com:
> Hi,
>
> On 28/09/2011, at 3:46 AM, ext Adriano Rezende wrote:
>
>> Hi,
>>
>> I didn't have time to play with QtQuick2 yet, but looking at the code
>> I think there are some points that should be reconsidered.
>>
>> 1. Naming conventions
>>
>> QtQuick2 items adopts an abbreviation 'SG' to prefix their class
>> names, like QSGItem. Since SG is not a well know acronym, wouldn't be
>> better to have a more descriptive name without abbreviating? Like,
>> QQuickItem, QSceneItem or even QSceneGraphItem?
> "SG" is a placeholder.  The plan is to rename QSGItem to QQuickItem.

An update on this: The renaming will happen shortly. In particular:

QSGItem --> QQuickItem
QSGView --> QQuickView
QSGCanvas --> QQuickCanvas
QSGPaintedItem --> QQuickPaintedItem

Header files will be renamed accordingly (e.g. qsgitem.h --> qquickitem.h).

Regards,
Kent


More information about the Qt-qml mailing list