LCOV - code coverage report
Current view: top level - muse/framework/ui/internal - windowscontroller.cpp Coverage Total Hit
Test: filtered_coverage.info Lines: 0.0 % 18 0
Test Date: 2026-11-05 04:07:02

            Line data    Source code
       1              : /*
       2              :  * SPDX-License-Identifier: GPL-3.0-only
       3              :  * MuseScore-Studio-CLA-applies
       4              :  *
       5              :  * MuseScore Studio
       6              :  * Music Composition & Notation
       7              :  *
       8              :  * Copyright (C) 2021 MuseScore Limited and others
       9              :  *
      10              :  * This program is free software: you can redistribute it and/or modify
      11              :  * it under the terms of the GNU General Public License version 3 as
      12              :  * published by the Free Software Foundation.
      13              :  *
      14              :  * This program is distributed in the hope that it will be useful,
      15              :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      16              :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      17              :  * GNU General Public License for more details.
      18              :  *
      19              :  * You should have received a copy of the GNU General Public License
      20              :  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
      21              :  */
      22              : 
      23              : #include "windowscontroller.h"
      24              : 
      25              : #include "global/containers.h"
      26              : 
      27              : #include "log.h"
      28              : 
      29              : using namespace muse::ui;
      30              : 
      31            0 : void WindowsController::regWindow(WId winId)
      32              : {
      33            0 :     IF_ASSERT_FAILED(!muse::contains(m_windowsIds, winId)) {
      34            0 :         return;
      35              :     }
      36              : 
      37            0 :     m_windowsIds.push_back(winId);
      38              : 
      39            0 :     finishRegWindow(winId);
      40              : }
      41              : 
      42            0 : void WindowsController::unregWindow(WId winId)
      43              : {
      44            0 :     IF_ASSERT_FAILED(muse::contains(m_windowsIds, winId)) {
      45            0 :         return;
      46              :     }
      47              : 
      48            0 :     muse::remove(m_windowsIds, winId);
      49              : }
      50              : 
      51            0 : QRect WindowsController::mainWindowTitleBarMoveArea() const
      52              : {
      53            0 :     return m_mainWindowTitleBarMoveArea;
      54              : }
      55              : 
      56            0 : void WindowsController::setMainWindowTitleBarMoveArea(const QRect& area)
      57              : {
      58            0 :     m_mainWindowTitleBarMoveArea = area;
      59            0 : }
      60              : 
      61            0 : bool WindowsController::nativeEventFilter(const QByteArray& eventType, void* message, qintptr* result)
      62              : {
      63              :     Q_UNUSED(eventType)
      64              :     Q_UNUSED(message)
      65              :     Q_UNUSED(result)
      66            0 :     return true;
      67              : }
      68              : 
      69            0 : void muse::ui::WindowsController::finishRegWindow(WId winId)
      70              : {
      71              :     Q_UNUSED(winId)
      72            0 : }
        

Generated by: LCOV version 2.0-1