| 155 | } |
| 156 | |
| 157 | QVariant T_TreeViewModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 158 | { |
| 159 | if (orientation == Qt::Horizontal && role == Qt::DisplayRole) |
| 160 | { |
| 161 | return QString("项目资源"); |
| 162 | } |
| 163 | return QAbstractItemModel::headerData(section, orientation, role); |
| 164 | } |
| 165 | |
| 166 | int T_TreeViewModel::getItemCount() const |
| 167 | { |
nothing calls this directly
no outgoing calls
no test coverage detected