MCPcopy Create free account
hub / github.com/KDE/kdiff3 / reset

Method reset

src/SourceData.cpp:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55extern std::unique_ptr<Options> gOptions;
56
57void SourceData::reset()
58{
59 mFromClipBoard = false;
60 mEncoding = QByteArray();
61 m_fileAccess = FileAccess();
62 m_normalData.reset();
63 m_lmppData.reset();
64 if(!m_tempInputFileName.isEmpty())
65 {
66 m_tempFile.remove();
67 m_tempInputFileName = "";
68 }
69
70 mErrors.clear();
71}
72
73void SourceData::setFilename(const QString& filename)
74{

Callers 1

readAndPreprocessMethod · 0.45

Calls 3

FileAccessClass · 0.70
isEmptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected