diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-22 10:16:15 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-22 10:16:15 -0400 |
| commit | cdf72828e599a63fca4a0f1ceeb3145fba581aa3 (patch) | |
| tree | 16ee02f0ce1e317a09fd4c2a3f9fbdc04aadfe60 /src/ui/alsa/alsadevicewidget.h | |
| parent | b30b234afa3ec18156e432b9f2a7ad2ca80cc672 (diff) | |
| parent | d9876849f0208291cc7010522e85593703ff52bd (diff) | |
Merge branch 'and-the-oss-you-rode-in-on'
Diffstat (limited to 'src/ui/alsa/alsadevicewidget.h')
| -rw-r--r-- | src/ui/alsa/alsadevicewidget.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ui/alsa/alsadevicewidget.h b/src/ui/alsa/alsadevicewidget.h new file mode 100644 index 0000000..aa4d63e --- /dev/null +++ b/src/ui/alsa/alsadevicewidget.h @@ -0,0 +1,31 @@ +#pragma once + +#include <tqwidget.h> + +class AlsaDevice; +class TQSlider; +class TQLabel; +class KLedButton; +class BalanceKnob; + +class AlsaDeviceWidget : public TQWidget +{ + TQ_OBJECT +public: + AlsaDeviceWidget( AlsaDevice *dev, TQWidget *parent = 0 ); + +private slots: + void onVolumeChanged( int v ); + void onMuteChanged( bool m ); + void onPanChanged( int p ); + void onSliderMoved( int v ); + void onMuteToggled( bool on ); + void onPanMoved( int p ); + +private: + AlsaDevice *m_dev; + TQSlider *m_slider; + TQLabel *m_volLabel; + KLedButton *m_muteBtn; + BalanceKnob *m_balance; +}; |
