MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / take

Method take

tools/screenshotmanager.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void ScreenshotManager::take(Screenshot::Options &options)
192{
193 Screenshot *newScreenshot = new Screenshot(this, options);
194 mScreenshots.append(newScreenshot);
195
196 connect(newScreenshot, &Screenshot::askConfirmation, this, &ScreenshotManager::askConfirmation);
197 connect(newScreenshot, &Screenshot::cleanup , this, &ScreenshotManager::cleanup);
198 connect(newScreenshot, &Screenshot::finished , this, &ScreenshotManager::finished);
199
200 newScreenshot->take();
201}
202
203void ScreenshotManager::uploadDone(const QString &fileName, const QString &url, const QString &deleteHash)
204{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected