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

Method countTrash

threads/counterrunner.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void CounterRunner::countTrash() {
59 if (global.countBehavior == Global::CountNone)
60 return;
61 QLOG_TRACE_IN();
62 if (!init)
63 initialize();
64 NoteTable ntable(db);
65 QList<qint32> lids;
66 emit trashTotals(ntable.getAllDeleted(lids));
67 QLOG_TRACE_OUT();
68}
69
70
71void CounterRunner::countNotebooks() {

Callers 1

countAllMethod · 0.95

Calls 1

getAllDeletedMethod · 0.80

Tested by

no test coverage detected