Updated the PySide test related to Python model returning data to C++.
This commit is contained in:
parent
22b7485419
commit
ce42ea6eeb
3 changed files with 29 additions and 13 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue