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

Function foreach

src/PDFDocumentWindow.cpp:937–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935 if (event->mimeData()->hasUrls()) {
936 const QList<QUrl> urls = event->mimeData()->urls();
937 foreach (const QUrl& url, urls) {
938 if (url.scheme() == QLatin1String("file")) {
939 event->acceptProposedAction();
940 break;
941 }
942 }
943 }
944}
945

Callers 1

findDocumentMethod · 0.70

Calls 1

pageSizeFMethod · 0.45

Tested by

no test coverage detected