PulseAudio Qt Bindings

client.cpp
1/*
2 SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
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
13namespace PulseAudioQt
14{
15Client::Client(QObject *parent)
16 : IndexedPulseObject(parent)
17 , d(new ClientPrivate(this))
18{
19}
20
21ClientPrivate::ClientPrivate(Client *q)
22 : q(q)
23{
24}
25
26Client::~Client()
27{
28 delete d;
29}
30
31void 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:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:54:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.