On Wednesday, November 7, 2012 11:26:10 Dmitry A. Ashkadov wrote:
> Hello, Aaron!
> 
> 1. If usage of item consist of only one property that is set, then may it be
> placed on one line?
> 
> Example:
> 
> ScriptAction { script: targetItem.smooth = false }
> 
> PlasmaCore.SvgItem {
> ... // blablabla
> svg: PlasmaCore.Svg { imagePath: "path" }
> ... // blablabla
> }

yes, i think this makes sense; it's already fairly common and keeps simple QML 
looking tidy.

> 2. Maybe is it better to fix the aliases like PlasmaCore, PlasmaExtras,
> PlasmaComponents ... for a consistency?

agreed; i'll put a section in Best Practices for these

thanks :)

-- 
Aaron J. Seigo

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to