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

Method mainWindowEnable

src/pdiff.cpp:1206–1214  ·  view source on GitHub ↗

Enable or disable all widgets except the status bar widget.

Source from the content-addressed store, hash-verified

1204
1205// Enable or disable all widgets except the status bar widget.
1206void KDiff3App::mainWindowEnable(bool bEnable)
1207{
1208 if(QMainWindow* pWindow = dynamic_cast<QMainWindow*>(window()))
1209 {
1210 QWidget* pStatusBarWidget = pWindow->statusBar();
1211 pWindow->setEnabled(bEnable);
1212 pStatusBarWidget->setEnabled(true);
1213 }
1214}
1215
1216void KDiff3App::postRecalcWordWrap()
1217{

Callers

nothing calls this directly

Calls 1

statusBarMethod · 0.80

Tested by

no test coverage detected