12345678910111213141516171819202122 |
- #include "smthemelistmodel.h"
- SmilesThemeListModel::SmilesThemeListModel(QObject *parent) : ListModel(new SmilesThemeItemModel, parent)
- {
- }
- void SmilesThemeListModel::append( SmilesThemeItemModel *item ) {
- this->appendRow( item );
- }
- int SmilesThemeListModel::count() {
- return this->rowCount();
- }
- void SmilesThemeListModel::clearList()
- {
- this->clear();
- //bufOfSmiles.clear();
- }
|