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

Method getColumnPosition

global.cpp:427–435  ·  view source on GitHub ↗

Get the position of a given column in the note list

Source from the content-addressed store, hash-verified

425
426// Get the position of a given column in the note list
427int Global::getColumnPosition(QString col) {
428 if (listView == ListViewWide)
429 settings->beginGroup("ColumnPosition-Wide");
430 else
431 settings->beginGroup("ColumnPosition-Narrow");
432 int value = settings->value(col, -1).toInt();
433 settings->endGroup();
434 return value;
435 }
436
437
438

Callers 1

repositionColumnsMethod · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected