MCPcopy Create free account
hub / github.com/TeXworks/texworks / addArg

Method addArg

src/PrefsDialog.cpp:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958void ToolConfig::addArg()
959{
960 arguments->addItem(tr("NewArgument"));
961 QListWidgetItem* item = arguments->item(arguments->count() - 1);
962 item->setFlags(item->flags() | Qt::ItemIsEditable);
963 arguments->setCurrentItem(item);
964 arguments->editItem(item);
965}
966
967void ToolConfig::removeArg()
968{

Callers

nothing calls this directly

Calls 1

flagsMethod · 0.45

Tested by

no test coverage detected