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

List:       kde-panel-devel
Subject:    Re: QML code style
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-20 19:30:35
Message-ID: 201101202030.35495.notmart () gmail ! com
[Download RAW message or body]

On Thursday 20 January 2011, Ivan Čukić wrote:
> Hi all,
> 
> I think this would be essential to decide before we dive into QML deeper.
> 
> We're all used to kdelibs style when C++ is concerned, so our code is
> generally unified all across different parts of KDE Code. QML is a new
> area which nobody (with the exception of Marco and a few other ppl)
> has had an experience with, so without some style guidelines, we'll
> end up with totally unreadable code.

yup. that's really important indeed, thanks for bringing it up.

qt has a (quite scarce) conventions document
http://doc.qt.nokia.com/4.7/qml-coding-conventions.html
what it says here is generally good, but doesn't say that much.

iirc this was discussed in the QtComponents ml as well some time ago, i don't 
know what the results were, the thread died rather quickly.

Artur, do you know something more about coding conventions used internally for 
QML/QtComponents? if sensible we could just steal, ehm, i mean adopt them ;)

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

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

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