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

Method fileName

src/MergeFileInfos.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102QString MergeFileInfos::fileName() const
103{
104 if(m_pFileInfoA != nullptr && m_pFileInfoA->exists())
105 return m_pFileInfoA->fileName();
106 else if(m_pFileInfoB != nullptr && m_pFileInfoB->exists())
107 return m_pFileInfoB->fileName();
108 else if(m_pFileInfoC != nullptr && m_pFileInfoC->exists())
109 return m_pFileInfoC->fileName();
110 return QString("");
111}
112
113bool MergeFileInfos::conflictingFileTypes() const
114{

Callers 15

setFileMethod · 0.80
loadDataMethod · 0.80
setFromUdsEntryMethod · 0.80
fileRelPathMethod · 0.80
openMethod · 0.80
createLocalCopyMethod · 0.80
sizeForReadingMethod · 0.80
filterListMethod · 0.80
enterDirMethod · 0.80
renameMethod · 0.80
listDirMethod · 0.80

Calls 1

existsMethod · 0.45

Tested by 9

liveTestMethod · 0.64
initTestCaseMethod · 0.64
testReadMethod · 0.64
testEOLStyleMethod · 0.64
trailingEOLTestMethod · 0.64
initTestCaseMethod · 0.64
testLineDataMethod · 0.64
testWhiteLineCommentMethod · 0.64