PulseAudio Qt Bindings

profile.cpp
1 /*
2  SPDX-FileCopyrightText: 2014-2015 Harald Sitter <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #include "profile.h"
8 #include "profile_p.h"
9 
10 namespace PulseAudioQt
11 {
12 Profile::Profile(QObject *parent)
13  : PulseObject(parent)
14  , d(new ProfilePrivate(this))
15 {
16 }
17 
18 Profile::~Profile()
19 {
20  delete d;
21 }
22 
23 ProfilePrivate::ProfilePrivate(Profile *q)
24  : q(q)
25 {
26 }
27 
28 ProfilePrivate::~ProfilePrivate()
29 {
30 }
31 
32 QString Profile::description() const
33 {
34  return d->m_description;
35 }
36 
37 quint32 Profile::priority() const
38 {
39  return d->m_priority;
40 }
41 
42 Profile::Availability Profile::availability() const
43 {
44  return d->m_availability;
45 }
46 
47 quint32 Profile::sinkCount() const
48 {
49  return d->m_sinkCount;
50 }
51 
52 quint32 Profile::sourceCount() const
53 {
54  return d->m_sourceCount;
55 }
56 
57 } // PulseAudioQt
The primary namespace of PulseAudioQt.
Definition: card.cpp:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:12:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.