From f6f7c36909fa161efe53c40e9b4c34856e751536 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 12 May 2026 21:32:53 -0400 Subject: Initial tmix skeleton — model layer + basic UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PulseModel: stable PulseDevice objects keyed by PA index, updated in-place via postEvent reconciliation. No bulk rebuilds. Three signals: deviceAdded, deviceRemoved (device changed handled per-device via volumeChanged/muteChanged/nameChanged). MixerWindow: four-tab layout (Output/Input/Playback/Recording), adds and removes individual DeviceWidgets in response to model signals. Builds and links cleanly against TQt3/TDE + libpulse. Co-Authored-By: Claude Sonnet 4.6 --- build/pulsedevice.moc | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 build/pulsedevice.moc (limited to 'build/pulsedevice.moc') diff --git a/build/pulsedevice.moc b/build/pulsedevice.moc new file mode 100644 index 0000000..781fedb --- /dev/null +++ b/build/pulsedevice.moc @@ -0,0 +1,102 @@ +/**************************************************************************** +** PulseDevice meta object code from reading C++ file 'standard input' +** +** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0) +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#undef TQT_NO_COMPAT +#include "/home/calvin/tmix/src/model/pulsedevice.h" + +#include +#include + +#include +#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) +#error "This file was generated using the moc from 3.5.0. It" +#error "cannot be used with the include files from this version of TQt." +#error "(The moc has changed too much.)" +#endif + +const char *PulseDevice::className() const +{ + return "PulseDevice"; +} + +TQMetaObject *PulseDevice::metaObj = 0; +static TQMetaObjectCleanUp cleanUp_PulseDevice( "PulseDevice", &PulseDevice::staticMetaObject ); + +#ifndef TQT_NO_TRANSLATION +TQString PulseDevice::tr( const char *s, const char *c ) +{ + if ( tqApp ) + return tqApp->translate( "PulseDevice", s, c, TQApplication::DefaultCodec ); + else + return TQString::fromLatin1( s ); +} +#ifndef TQT_NO_TRANSLATION_UTF8 +TQString PulseDevice::trUtf8( const char *s, const char *c ) +{ + if ( tqApp ) + return tqApp->translate( "PulseDevice", s, c, TQApplication::UnicodeUTF8 ); + else + return TQString::fromUtf8( s ); +} +#endif // TQT_NO_TRANSLATION_UTF8 + +#endif // TQT_NO_TRANSLATION + +TQMetaObject* PulseDevice::staticMetaObject() +{ + if ( metaObj ) { + return metaObj; +} +#ifdef TQT_THREAD_SUPPORT + if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock(); + if ( metaObj ) { + if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock(); + return metaObj; + } +#endif // TQT_THREAD_SUPPORT + TQMetaObject* parentObject = AudioDevice::staticMetaObject(); + metaObj = TQMetaObject::new_metaobject( + "PulseDevice", parentObject, + 0, 0, + 0, 0, +#ifndef TQT_NO_PROPERTIES + 0, 0, + 0, 0, +#endif // TQT_NO_PROPERTIES + 0, 0 ); + cleanUp_PulseDevice.setMetaObject( metaObj ); +#ifdef TQT_THREAD_SUPPORT + if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock(); +#endif // TQT_THREAD_SUPPORT + return metaObj; +} + +void* PulseDevice::tqt_cast( const char* clname ) +{ + if ( !qstrcmp( clname, "PulseDevice" ) ) + return this; + return AudioDevice::tqt_cast( clname ); +} + +bool PulseDevice::tqt_invoke( int _id, TQUObject* _o ) +{ + return AudioDevice::tqt_invoke(_id,_o); +} + +bool PulseDevice::tqt_emit( int _id, TQUObject* _o ) +{ + return AudioDevice::tqt_emit(_id,_o); +} +#ifndef TQT_NO_PROPERTIES + +bool PulseDevice::tqt_property( int id, int f, TQVariant* v) +{ + return AudioDevice::tqt_property( id, f, v); +} + +bool PulseDevice::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; } +#endif // TQT_NO_PROPERTIES -- cgit v1.2.3