PulseAudio Qt Bindings

client.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 "client.h"
8 #include "client_p.h"
9 
10 #include "debug.h"
11 #include "indexedpulseobject_p.h"
12 
13 namespace PulseAudioQt
14 {
15 Client::Client(QObject *parent)
16  : IndexedPulseObject(parent)
17  , d(new ClientPrivate(this))
18 {
19 }
20 
21 ClientPrivate::ClientPrivate(Client *q)
22  : q(q)
23 {
24 }
25 
26 Client::~Client()
27 {
28  delete d;
29 }
30 
31 void ClientPrivate::update(const pa_client_info *info)
32 {
33  q->IndexedPulseObject::d->updatePulseObject(info);
34  q->PulseObject::d->updateProperties(info);
35 }
36 
37 } // PulseAudioQt
The primary namespace of PulseAudioQt.
Definition: card.cpp:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:12:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.