MCPcopy Create free account
hub / github.com/Artikash/Textractor / Sync

Function Sync

GUI/extenwindow.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void Sync()
73 {
74 ui.extenList->clear();
75 QTextFile extenSaveFile(EXTEN_SAVE_FILE, QIODevice::WriteOnly | QIODevice::Truncate);
76 concurrency::reader_writer_lock::scoped_lock_read readLock(extenMutex);
77 for (auto extension : extensions)
78 {
79 ui.extenList->addItem(S(extension.name));
80 extenSaveFile.write((S(extension.name) + ">").toUtf8());
81 }
82 }
83
84 void Add(QFileInfo extenFile)
85 {

Callers 4

AddFunction · 0.85
DeleteFunction · 0.85
ExtenWindowMethod · 0.85
eventFilterMethod · 0.85

Calls 1

SFunction · 0.85

Tested by

no test coverage detected