Updated the PySide test related to Python model returning data to C++.

This commit is contained in:
Marcelo Lira 2010-12-15 19:11:40 -03:00 • committed by Hugo Parente Lima
commit ce42ea6eeb
3 changed files with 29 additions and 13 deletions

View file

@ -14,7 +14,7 @@ class PYSIDE_API TestView : public QObject
public:
TestView(QAbstractListModel* model, QObject* parent = 0) : QObject(parent), m_model(model) {}
QAbstractListModel* model() { return m_model; }
QObject* getData();
QVariant getData();
private:
QAbstractListModel* m_model;
};