blob: 2ae4162641ffcb028f28874ed3c77aee7b6df8bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef TESTVIEW_H
#define TESTVIEW_H
#include <QObject>
#include <QAbstractListModel>
#ifdef pysidetest_EXPORTS
#define PYSIDE_EXPORTS 1
#endif
#include "pysidemacros.h"
class PYSIDE_API TestView : public QObject
{
Q_OBJECT
public:
TestView(QAbstractListModel* model, QObject* parent = 0) : QObject(parent), m_model(model) {}
QAbstractListModel* model() { return m_model; }
QObject* getData();
private:
QAbstractListModel* m_model;
};
#endif // TESTVIEW_H
|