PropertyBasedTableModel.hpp   PropertyBasedTableModel.hpp 
skipping to change at line 35 skipping to change at line 35
//! class is not required. It does this by using the Qt meta object system . //! class is not required. It does this by using the Qt meta object system .
//! //!
//! To use this class, your domain objects basically just need to use prope rties (for any properties you want to make //! To use this class, your domain objects basically just need to use prope rties (for any properties you want to make
//! available to the model), and have a Q_INVOKABLE copy constructor. Then , when you instantiate an //! available to the model), and have a Q_INVOKABLE copy constructor. Then , when you instantiate an
//! instance, you must call the init methd. The init method takes the data to model, as well as an instance of your //! instance, you must call the init methd. The init method takes the data to model, as well as an instance of your
//! 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
class PropertyBasedTableModel : public QAbstractTableModel class PropertyBasedTableModel : public QAbstractTableModel
{ {
Q_OBJECT Q_OBJECT
public: public:
PropertyBasedTableModel(QObject *parent = 0); PropertyBasedTableModel(QObject *parent = 0);
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.
 End of changes. 1 change blocks. 
0 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/