PySide/Mobility — pull request #4 by igor-bogomolov (2011-12-26 07:35:51+00:00)
Title: Trivial fixes in examples

Traceback for filebrowser example
...
File "filebrowser.py", line 224, in updateValue
widget.setText(value)
TypeError: 'PySide.QtGui.QLabel.setText' called with wrong argument types:
PySide.QtGui.QLabel.setText(long)
Supported signatures:
PySide.QtGui.QLabel.setText(unicode)

==========================================================
Tracebacks for mapviewer example

Traceback (most recent call last):
File "mapviewer.py", line 652, in
main()
File "mapviewer.py", line 646, in main
window = MainWindow()
File "mapviewer.py", line 231, in __init__
self.setupUi()
File "mapviewer.py", line 330, in setupUi
self.mapWidget.zoomLevelChanged[float].connect(self.mapZoomLevelChanged)
IndexError: Signature zoomLevelChanged(double) not found for signal: zoomLevelChanged

---------------------------------------------------------------------------

Traceback (most recent call last):
File "mapviewer.py", line 71, in mousePressEvent
self.coordQueryResult.emit(self.screenPositionToCoordinate(event.lastPos()))
TypeError: Value types used on meta functions (including signals) need to be registered on meta type: QtMobility::QGeoCoordinate