LCOV - code coverage report
Current view: top level - application-main-lib - dbusnotificationimpl.cpp (source / functions) Coverage Total Hit
Test: QtApplicationManager Lines: 100.0 % 11 11
Test Date: 2024-04-20 10:06:23 Functions: 100.0 % 4 4
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : // Copyright (C) 2021 The Qt Company Ltd.
       2                 :             : // Copyright (C) 2019 Luxoft Sweden AB
       3                 :             : // Copyright (C) 2018 Pelagicore AG
       4                 :             : // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
       5                 :             : 
       6                 :             : #include "dbusnotificationimpl.h"
       7                 :             : #include "applicationmain.h"
       8                 :             : 
       9                 :             : 
      10                 :             : QT_BEGIN_NAMESPACE_AM
      11                 :             : 
      12                 :           4 : DBusNotificationImpl::DBusNotificationImpl(Notification *notification,
      13                 :           4 :                                            ApplicationMain *applicationMain)
      14                 :             :     : NotificationImpl(notification)
      15                 :           4 :     , m_applicationMain(applicationMain)
      16                 :           4 : { }
      17                 :             : 
      18                 :           4 : void DBusNotificationImpl::componentComplete()
      19                 :           4 : { }
      20                 :             : 
      21                 :           3 : void DBusNotificationImpl::close()
      22                 :             : {
      23                 :           3 :     m_applicationMain->closeNotification(notification());
      24                 :           3 : }
      25                 :             : 
      26                 :           3 : uint DBusNotificationImpl::show()
      27                 :             : {
      28                 :           3 :     return m_applicationMain->showNotification(notification());
      29                 :             : }
      30                 :             : 
      31                 :             : QT_END_NAMESPACE_AM
        

Generated by: LCOV version 2.0-1