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

Method Screenshot

tools/screenshot.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48#endif
49
50Screenshot::Screenshot(QObject *parent, Screenshot::Options options):
51 QObject(parent),
52 mOptions(options),
53 mPixmapDelay(false),
54 mUnloaded(false),
55 mUnloadFilename()
56{
57 if (mOptions.format == Screenshot::PNG) {
58 mOptions.quality = 80;
59 }
60}
61
62Screenshot::~Screenshot()
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected