accountslistmodel.h 429 B

1234567891011121314151617181920
  1. #ifndef ACCOUNTSLISTMODEL_H
  2. #define ACCOUNTSLISTMODEL_H
  3. #include "listmodel.h"
  4. #include "accountsitemmodel.h"
  5. class AccountsListModel : public ListModel
  6. {
  7. Q_OBJECT
  8. public:
  9. explicit AccountsListModel( QObject *parent = 0 );
  10. Q_INVOKABLE void append( AccountsItemModel *item );
  11. Q_INVOKABLE void remove( int index );
  12. Q_INVOKABLE int count();
  13. Q_INVOKABLE void clearList();
  14. };
  15. #endif // ACCOUNTSLISTMODEL_H