blob: 15f8554f1030c76081a6696602d49a15150dc641 (
plain) (
tree)
|
|
#ifndef _SLX_OUTPUT_H_
#define _SLX_OUTPUT_H_
#include <QWidget>
#include <QTimer>
#include "ui_slxoutput.h"
class SlxOutput : public QWidget, public Ui::SlxOutput
{
Q_OBJECT
public:
SlxOutput(QWidget *parent, const QString &id);
virtual ~SlxOutput();
void updateOutput(const QString &name, bool isDefault, bool isMuted, int volume, const QString &card, const QString &sink, const QString &port);
const QString &sink() const { return _sink; }
const bool isSink() const { return !_sink.isEmpty(); }
bool unused;
private:
QString _id;
QString _card;
QString _sink;
QString _port;
QTimer _volumeTimer;
private slots:
void volumeSliderChanged(int value);
};
#endif
|