MCPcopy Create free account
hub / github.com/KDE/kdevelop / setShowInternalCommands

Method setShowInternalCommands

plugins/gdb/gdboutputwidget.cpp:263–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void GDBOutputWidget::setShowInternalCommands(bool show)
264{
265 if (show != m_showInternalCommands)
266 {
267 m_showInternalCommands = show;
268
269 // Set of strings to show changes, text edit still has old
270 // set. Refresh.
271 m_gdbView->clear();
272 const QStringList& newList =
273 m_showInternalCommands ? m_allCommands : m_userCommands_;
274
275 for (auto& line : newList) {
276 // Note that color formatting is already applied to 'line'.
277 showLine(line);
278 }
279 }
280}
281
282void GDBOutputWidget::slotGDBCmd()
283{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected