MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / booleanValue

Method booleanValue

xml/batchimport.cpp:363–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362
363bool BatchImport::booleanValue() {
364 QString value = textValue();
365 value.toLower();
366 if (value == "1" || value == "true")
367 return true;
368 else
369 return false;
370}
371
372
373short BatchImport::shortValue() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected