MCPcopy Create free account
hub / github.com/KDE/labplot / commentChanged

Method commentChanged

src/frontend/dockwidgets/BaseDock.cpp:219–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void BaseDock::commentChanged() {
220 if (m_initializing || !m_aspect || m_aspects.size() > 1)
221 return;
222
223 if (!m_teComment) {
224 DEBUG("BaseDock: m_teComment not initialized");
225 Q_ASSERT(false);
226 return;
227 }
228
229 m_aspect->setComment(m_teComment->text());
230}
231
232void BaseDock::visibleChanged(bool state) {
233 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 3

setCommentMethod · 0.80
sizeMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected