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

Method SetResult

unit-tests/MockScriptingAPI.h:61–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 QObject* GetScript() override { return _scriptObject; }
60 QVariant& GetResult() override { return _result; }
61 void SetResult(const QVariant& rval) override { _result = rval; }
62 int strlen(const QString& str) const override { return static_cast<int>(str.length()); }
63 QString platform() const override { return QString(); }
64 int getQtVersion() const override { return QT_VERSION; }

Callers 1

mocksMethod · 0.45

Calls

no outgoing calls

Tested by 1

mocksMethod · 0.36