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

Method platform

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

Source from the content-addressed store, hash-verified

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; }
65 QMap<QString, QVariant> system(const QString& cmdline, bool waitForResult = true) override {
66 Q_UNUSED(cmdline);

Callers 1

mocksMethod · 0.45

Calls

no outgoing calls

Tested by 1

mocksMethod · 0.36