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

Method saveWindow

src/kdiff3.cpp:880–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void KDiff3App::saveWindow(const KSharedConfigPtr config)
881{
882 KConfigGroup group = config->group(KDIFF3_CONFIG_GROUP);
883 group.writeEntry("mainWindow-geometry", saveGeometry());
884 group.writeEntry("mainWindow-state", saveState(1));
885 group.writeEntry("shell-geometry", m_pKDiff3Shell->saveGeometry());
886 group.writeEntry("shell-state", m_pKDiff3Shell->saveState());
887}
888
889bool KDiff3App::restoreWindow(const KSharedConfigPtr config)
890{

Callers

nothing calls this directly

Calls 1

writeEntryMethod · 0.45

Tested by

no test coverage detected