MCPcopy Create free account
hub / github.com/Artikash/Textractor / QTextFile

Method QTextFile

include/qtcommon.h:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28struct Settings : QSettings { Settings(QObject* parent = nullptr) : QSettings(CONFIG_FILE, QSettings::IniFormat, parent) {} };
29struct QTextFile : QFile { QTextFile(QString name, QIODevice::OpenMode mode) : QFile(name) { open(mode | QIODevice::Text); } };
30struct Localizer { Localizer() { Localize(); } };
31inline std::wstring S(const QString& s) { return { s.toStdWString() }; }
32inline QString S(const std::string& s) { return QString::fromStdString(s); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected