PulseAudio Qt Bindings

indexedpulseobject.h
1/*
2 SPDX-FileCopyrightText: 2021 Nicolas Fella <nicolas.fella@gmx.de>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef INDEXEDPULSEOBJECT_H
8#define INDEXEDPULSEOBJECT_H
9
10#include <QObject>
11
12#include "pulseaudioqt_export.h"
13#include "pulseobject.h"
14
15namespace PulseAudioQt
16{
17class PULSEAUDIOQT_EXPORT IndexedPulseObject : public PulseObject
18{
19 Q_OBJECT
20 Q_PROPERTY(quint32 index READ index CONSTANT)
21
22public:
23 ~IndexedPulseObject();
24
25 /**
26 * Index of this object.
27 */
28 quint32 index() const;
29
30protected:
31 /** @private */
32 explicit IndexedPulseObject(QObject *parent);
33 /** @private */
34 class IndexedPulseObjectPrivate *const d;
35
36private:
37 // Ensure that we get properly parented.
38 IndexedPulseObject();
39 friend class ClientPrivate;
40 friend class CardPrivate;
41 friend class ModulePrivate;
42 friend class VolumeObjectPrivate;
43 friend class ProfilePrivate;
44};
45
46} // PulseAudioQt
47
48#endif // INDEXEDPULSEOBJECT_H
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 Tue Mar 26 2024 11:20:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.