MCPcopy Create free account
hub / github.com/KDE/krusader / getCurrentFile

Method getCurrentFile

app/DiskUsage/diskusage.cpp:1071–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069}
1070
1071File *DiskUsage::getCurrentFile()
1072{
1073 File *file = nullptr;
1074
1075 switch (activeView) {
1076 case VIEW_LINES:
1077 file = lineView->getCurrentFile();
1078 break;
1079 case VIEW_DETAILED:
1080 file = listView->getCurrentFile();
1081 break;
1082 case VIEW_FILELIGHT:
1083 file = filelightView->getCurrentFile();
1084 break;
1085 }
1086
1087 return file;
1088}
1089
1090bool DiskUsage::event(QEvent *e)
1091{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected