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

List:       kde-panel-devel
Subject:    libplasma and scripting
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-02-23 22:34:53
Message-ID: 201002231434.55939.aseigo () kde ! org
[Download RAW message or body]

hi all..

this is just a reminder that _whenever_ you add any setters/getters to classes 
in plasma/widgets/*h you must add a corresponding Q_PROPERTY to the class 
otherwise it will not appear in the script bindings.

signals and slots don't need this, unless the slot is a setter or a getter, in 
which case a Q_PROPERTY should be added for completeness

also, please help me keep 
http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API up to date 
as we make changes. thanks.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
_______________________________________________
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