| 630 | } |
| 631 | |
| 632 | void CMainWindow::toggleFullScreenMode(bool fullscreen) |
| 633 | { |
| 634 | if (fullscreen) |
| 635 | { |
| 636 | _windowStateBeforeFullscreen = (windowState() & Qt::WindowMaximized) ? MaximizedWindow : NormalWindow; |
| 637 | showFullScreen(); |
| 638 | } |
| 639 | else |
| 640 | { |
| 641 | if (_windowStateBeforeFullscreen == MaximizedWindow) |
| 642 | showMaximized(); |
| 643 | else |
| 644 | showNormal(); |
| 645 | } |
| 646 | } |
| 647 | |
| 648 | void CMainWindow::toggleTabletMode(bool tabletMode) |
| 649 | { |
nothing calls this directly
no outgoing calls
no test coverage detected