Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/kdiff3
/ setFilename
Method
setFilename
src/SourceData.cpp:73–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
void SourceData::setFilename(const QString& filename)
74
{
75
if(filename.isEmpty())
76
{
77
reset();
78
}
79
else
80
{
81
setFileAccess(FileAccess(filename));
82
}
83
}
84
85
bool SourceData::isEmpty() const
86
{
Callers
11
runTest
Function · 0.80
KDiff3App
Method · 0.80
slotFileOpen
Method · 0.80
slotFileOpen2
Method · 0.80
initTestCase
Method · 0.80
testRead
Method · 0.80
testEOLStyle
Method · 0.80
trailingEOLTest
Method · 0.80
testLineData
Method · 0.80
testTwoWayDiffLineChanged
Method · 0.80
testWhiteLineComment
Method · 0.80
Calls
2
FileAccess
Class · 0.70
isEmpty
Method · 0.45
Tested by
8
runTest
Function · 0.64
initTestCase
Method · 0.64
testRead
Method · 0.64
testEOLStyle
Method · 0.64
trailingEOLTest
Method · 0.64
testLineData
Method · 0.64
testTwoWayDiffLineChanged
Method · 0.64
testWhiteLineComment
Method · 0.64