MCPcopy Create free account
hub / github.com/cxasm/notepad-- / setWindowTitleMode

Method setWindowTitleMode

src/cceditor/ccnotepad.cpp:4497–4501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4495}
4496
4497void CCNotePad::setWindowTitleMode(QString filePath, OpenAttr attr)
4498{
4499 QString title = QString("%1 [%2]").arg(filePath).arg(OpenAttrToString(attr));
4500 setWindowTitle(title);
4501}
4502
4503const quint64 MAX_TRY_OPEN_FILE_SIZE = 1024 * 1024 * 1024;
4504

Callers

nothing calls this directly

Calls 1

OpenAttrToStringFunction · 0.85

Tested by

no test coverage detected