MCPcopy Create free account
hub / github.com/YACReader/yacreader / mimeDataToComicsIds

Method mimeDataToComicsIds

common/yacreader_global_gui.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47QList<qulonglong> YACReader::mimeDataToComicsIds(const QMimeData *data)
48{
49 QList<qulonglong> comicIds;
50 QByteArray rawData = data->data(YACReader::YACReaderLibrarComiscSelectionMimeDataFormat);
51 QDataStream in(&rawData, QIODevice::ReadOnly);
52 in >> comicIds; // deserialize the list of indentifiers
53 return comicIds;
54}
55
56QAction *YACReader::wrappedToolbarAction(QAction *action)
57{

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected