File indexing completed on 2024-09-15 04:15:53
0001 /* 0002 SPDX-FileCopyrightText: 2017 David Rosca <nowrep@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef MODULE_H 0008 #define MODULE_H 0009 0010 #include "indexedpulseobject.h" 0011 #include "pulseaudioqt_export.h" 0012 0013 struct pa_module_info; 0014 0015 namespace PulseAudioQt 0016 { 0017 class PULSEAUDIOQT_EXPORT Module : public IndexedPulseObject 0018 { 0019 Q_OBJECT 0020 Q_PROPERTY(QString argument READ argument NOTIFY argumentChanged) 0021 0022 public: 0023 ~Module(); 0024 0025 QString argument() const; 0026 0027 Q_SIGNALS: 0028 void argumentChanged(); 0029 0030 private: 0031 explicit Module(QObject *parent); 0032 0033 class ModulePrivate *const d; 0034 friend class MapBase<Module, pa_module_info>; 0035 }; 0036 0037 } // PulseAudioQt 0038 0039 #endif // MODULE_H