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

Method subPath

src/MergeFileInfos.cpp:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91QString MergeFileInfos::subPath() const
92{
93 if(m_pFileInfoA != nullptr && m_pFileInfoA->exists())
94 return m_pFileInfoA->fileRelPath();
95 else if(m_pFileInfoB != nullptr && m_pFileInfoB->exists())
96 return m_pFileInfoB->fileRelPath();
97 else if(m_pFileInfoC != nullptr && m_pFileInfoC->exists())
98 return m_pFileInfoC->fileRelPath();
99 return QString("");
100}
101
102QString MergeFileInfos::fileName() const
103{

Callers 5

MergeFileInfos.cppFile · 0.80
dataMethod · 0.80
prepareListViewMethod · 0.80
mergeContinueMethod · 0.80
setInfoMethod · 0.80

Calls 2

fileRelPathMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected