PropertyBasedTableModel.hpp   PropertyBasedTableModel.hpp 
skipping to change at line 40 skipping to change at line 40
//! model class (to use as a model for creating new instances), and a map t o know the ordering of the properties to //! model class (to use as a model for creating new instances), and a map t o know the ordering of the properties to
//! their position (as you want them displayed). //! their position (as you want them displayed).
//! //!
//! @author Timothy Reaves <treaves@silverfieldstech.com> //! @author Timothy Reaves <treaves@silverfieldstech.com>
//! @ref http://doc.qt.nokia.com/latest/properties.html //! @ref http://doc.qt.nokia.com/latest/properties.html
//! @ingroup oculars //! @ingroup oculars
class PropertyBasedTableModel : public QAbstractTableModel class PropertyBasedTableModel : public QAbstractTableModel
{ {
Q_OBJECT Q_OBJECT
public: public:
PropertyBasedTableModel(QObject *parent = 0); PropertyBasedTableModel(QObject *parent = Q_NULLPTR);
virtual ~PropertyBasedTableModel(); virtual ~PropertyBasedTableModel();
//! Initializes this instance for use. If you do not call this meth od, and use this class, your app will crash. //! Initializes this instance for use. If you do not call this meth od, and use this class, your app will crash.
//! @param content the domain objects you want to model. They shoul d all be the same type. This isnstance does not //! @param content the domain objects you want to model. They shoul d all be the same type. This isnstance does not
//! take ownership of content, or the elements i n it. //! take ownership of content, or the elements i n it.
//! @param model an instance of the same type as in content, this in stance is used to create new instances of your //! @param model an instance of the same type as in content, this in stance is used to create new instances of your
//! domain objects by calling the model objects copy constructor. This instance takes ownership of model. //! domain objects by calling the model objects copy constructor. This instance takes ownership of model.
//! @param mappings mas an integer positional index to the property. //! @param mappings mas an integer positional index to the property.
void init(QList<QObject *>* content, QObject *model, QMap<int, QStri ng> mappings); void init(QList<QObject *>* content, QObject *model, QMap<int, QStri ng> mappings);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/