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

Method slotCompareWithHistoryItem

kdiff3fileitemactionplugin/kdiff3fileitemaction.cpp:184–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void KDiff3FileItemAction::slotCompareWithHistoryItem()
185{
186 const QAction* pAction = dynamic_cast<const QAction*>(sender());
187 if(!m_list.isEmpty() && pAction)
188 {
189 QStringList args = {
190 pAction->data().toString(),
191 Utils::urlToString(m_list.first())
192 };
193 QProcess::startDetached("kdiff3", args);
194 }
195}
196
197void KDiff3FileItemAction::slotCompareTwoFiles()
198{

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected