aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest/testview.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-12-15 19:11:40 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:47:58 -0300
commitce42ea6eebacdc4ae3cef913d03d06dd77bb1516 (patch)
tree263a78737ae18654c94862154da9d844390dc902 /tests/pysidetest/testview.h
parent22b74854195c888b82b1f246d87e16ea18b2c978 (diff)
Updated the PySide test related to Python model returning data to C++.
Diffstat (limited to 'tests/pysidetest/testview.h')
-rw-r--r--tests/pysidetest/testview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pysidetest/testview.h b/tests/pysidetest/testview.h
index 2ae416264..1a65ea459 100644
--- a/tests/pysidetest/testview.h
+++ b/tests/pysidetest/testview.h
@@ -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;
};