aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorrenato <renato.filho@openbossa.org>2010-05-31 17:33:13 -0300
committerrenato <renato.filho@openbossa.org>2010-05-31 17:33:13 -0300
commit3a79f868d1830e759c17d3f0e3dc176cb245d010 (patch)
tree6d8807a0fa4fd901b8bb0dcef8bbe889bee157ba /PySide
parent1a235edc097e280ddee1d49ed836dbaa28399eb8 (diff)
Create unittest to pickselector.
Fixed pickselector return policy. Fixes bug #179
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtGui/typesystem_gui_maemo.xml3
-rw-r--r--PySide/QtMaemo5/typesystem_maemo5.xml9
2 files changed, 11 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_maemo.xml b/PySide/QtGui/typesystem_gui_maemo.xml
index 9efac7dfa..0a06c7755 100644
--- a/PySide/QtGui/typesystem_gui_maemo.xml
+++ b/PySide/QtGui/typesystem_gui_maemo.xml
@@ -1,6 +1,9 @@
<?xml version="1.0"?>
<typesystem package="PySide.QtGui">
+ <enum-type name="QAbstractKineticScroller::Mode"/>
+ <enum-type name="QAbstractKineticScroller::OvershootPolicy"/>
+ <enum-type name="QAbstractKineticScroller::State"/>
<object-type name="QAbstractKineticScroller" />
<load-typesystem name="typesystem_gui_x11.xml" generate="yes"/>
diff --git a/PySide/QtMaemo5/typesystem_maemo5.xml b/PySide/QtMaemo5/typesystem_maemo5.xml
index 283f939cb..40a1765ab 100644
--- a/PySide/QtMaemo5/typesystem_maemo5.xml
+++ b/PySide/QtMaemo5/typesystem_maemo5.xml
@@ -10,5 +10,12 @@
<object-type name="QMaemo5InformationBox"/>
<object-type name="QMaemo5ListPickSelector"/>
<object-type name="QMaemo5TimePickSelector"/>
- <object-type name="QMaemo5ValueButton"/>
+ <object-type name="QMaemo5ValueButton">
+ <modify-function signature="setPickSelector(QMaemo5AbstractPickSelector*)">
+ <modify-argument index="1">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
+ </object-type>
+
</typesystem>