Commit Graph

3 Commits

Author SHA1 Message Date
André Wöbbeking
83d02aaecb -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1056518
2009-11-30 11:44:47 +00:00
Artur Duque de Souza
4f35912332 Fix the GridLayout bindings as we do not have properties
Now I figured it out: the c++ class has no properties because
the setters need to get the row or the column and this is not
a property. So now this commit fixes the problem of exporting
it as properties in the binding.


svn path=/trunk/KDE/kdebase/runtime/; revision=1055931
2009-11-29 04:38:33 +00:00
Artur Duque de Souza
a356b3d452 Create bindings for QGraphicsGridLayout
We should definetely have a common header for the layout bindings
so we avoid duplicating the "layoutItem" function with different
names all around.

I created some macros to help creating the binding for GridLayout
that may be helpful in other scenarious. Maybe put this macros on
this shared header too ?

Anyway, the bindings for this class are ready if I didn't forget
any important functions and the code for layout item was a little
bit simplified trying to qscriptvalue_cast to QGraphicsLayout* instead
of each implementation of it.


svn path=/trunk/KDE/kdebase/runtime/; revision=1055930
2009-11-29 04:17:30 +00:00