| 19 | } |
| 20 | |
| 21 | void T_IconModel::setSearchKeyList(QStringList list) |
| 22 | { |
| 23 | beginResetModel(); |
| 24 | this->_searchKeyList = list; |
| 25 | if (_pIsSearchMode) |
| 26 | { |
| 27 | _rowCount = this->getSearchKeyList().count(); |
| 28 | } |
| 29 | else |
| 30 | { |
| 31 | _rowCount = _metaEnum.keyCount() - 1; |
| 32 | } |
| 33 | endResetModel(); |
| 34 | } |
| 35 | |
| 36 | QStringList T_IconModel::getSearchKeyList() |
| 37 | { |
no test coverage detected