msglistmodel.h 431 B

1234567891011121314151617181920212223242526
  1. #ifndef MSGLISTMODEL_H
  2. #define MSGLISTMODEL_H
  3. #include "listmodel.h"
  4. #include "msgitemmodel.h"
  5. class MsgListModel : public ListModel
  6. {
  7. Q_OBJECT
  8. public:
  9. explicit MsgListModel(QObject *parent = 0);
  10. Q_INVOKABLE void append( MsgItemModel *item );
  11. Q_INVOKABLE void remove( int index );
  12. Q_INVOKABLE int count();
  13. Q_INVOKABLE void clearList();
  14. signals:
  15. public slots:
  16. };
  17. #endif // MSGLISTMODEL_H