| 1142 | } |
| 1143 | |
| 1144 | void WorkspaceWidget::replaceSelectedText(const QString &text) |
| 1145 | { |
| 1146 | if (auto tabWidget = d->currentTabWidget()) |
| 1147 | QMetaObject::invokeMethod(tabWidget, "replaceSelectedText", |
| 1148 | Qt::QueuedConnection, |
| 1149 | Q_ARG(const QString &, text)); |
| 1150 | } |
| 1151 | |
| 1152 | void WorkspaceWidget::showTips(const QString &tips) |
| 1153 | { |
nothing calls this directly
no test coverage detected