summaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-05-19 13:23:46 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-05-19 14:45:00 -0300
commitb112512793f2f74ec83b87816813935f79e88cc4 (patch)
treec679fac66fa3c569a6f717284ab11d78f888762a /PySide
parent6e16fd86f41569070f1114711b46db0d7f76f1c9 (diff)
downloadpyside-b112512793f2f74ec83b87816813935f79e88cc4.tar.gz
pyside-b112512793f2f74ec83b87816813935f79e88cc4.tar.xz
pyside-b112512793f2f74ec83b87816813935f79e88cc4.zip
Added the missing QPixmapCache.Key class to the type system.
Unit tests for QPixmapCache were also added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtGui/CMakeLists.txt1
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt
index 4362115..8f8ff97 100644
--- a/PySide/QtGui/CMakeLists.txt
+++ b/PySide/QtGui/CMakeLists.txt
@@ -242,6 +242,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpen_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpictureio_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpicture_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpixmapcache_wrapper.cpp
+${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpixmapcache_key_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpixmap_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qplaintextdocumentlayout_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qplaintextedit_wrapper.cpp
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 6cfe6eb..5ff06da 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -2380,6 +2380,7 @@
</modify-function>
</object-type>
<object-type name="QPixmapCache">
+ <value-type name="Key"/>
<!-- ### Obsolete. -->
<modify-function signature="find(QString)" remove="all"/>
<modify-function signature="find(QString,QPixmap&amp;)" remove="all"/>