| 213 | } |
| 214 | |
| 215 | void TabBar::switchTab(const QString &fileName) |
| 216 | { |
| 217 | int index = indexOf(fileName); |
| 218 | if (-1 != index) |
| 219 | d->tabBar->setCurrentIndex(index); |
| 220 | } |
| 221 | |
| 222 | void TabBar::removeTab(const QString &fileName, bool silent) |
| 223 | { |
no test coverage detected