MCPcopy Create free account
hub / github.com/KDE/labplot / processMetadata

Method processMetadata

src/backend/datasources/DatasetHandler.cpp:52–62  ·  view source on GitHub ↗

* @brief Initiates processing the metadata file,, located at the given path, belonging to a dataset. * @param path the path to the metadata file */

Source from the content-addressed store, hash-verified

50 * @param path the path to the metadata file
51 */
52void DatasetHandler::processMetadata(const QJsonObject& object, const QString& description) {
53 delete m_object;
54 m_object = new QJsonObject(object);
55 DEBUG("Start processing dataset...");
56
57 if (!m_object->isEmpty()) {
58 configureFilter();
59 configureSpreadsheet(description);
60 prepareForDataset();
61 }
62}
63
64/**
65 * @brief Marks the metadata file being invalid by setting the value of a flag, also pops up a messagebox.

Callers 1

importMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected