23#ifndef PHONON_UI_VOLUMESLIDER_H
24#define PHONON_UI_VOLUMESLIDER_H
26#include "phonon_export.h"
27#include "phonondefs.h"
31#ifndef QT_NO_PHONON_VOLUMESLIDER
36class VolumeSliderPrivate;
53 Q_PROPERTY(qreal maximumVolume READ maximumVolume WRITE setMaximumVolume)
59 Q_PROPERTY(
Qt::Orientation orientation READ orientation WRITE setOrientation)
69 Q_PROPERTY(
bool tracking READ hasTracking WRITE setTracking)
79 Q_PROPERTY(
int pageStep READ pageStep WRITE setPageStep)
89 Q_PROPERTY(
int singleStep READ singleStep WRITE setSingleStep)
96 Q_PROPERTY(
bool muteVisible READ isMuteVisible WRITE setMuteVisible)
103 Q_PROPERTY(
QSize iconSize READ iconSize WRITE setIconSize)
112 bool hasTracking() const;
113 void setTracking(
bool tracking);
114 int pageStep() const;
115 void setPageStep(
int milliseconds);
116 int singleStep() const;
117 void setSingleStep(
int milliseconds);
118 bool isMuteVisible() const;
119 QSize iconSize() const;
120 qreal maximumVolume() const;
121 Qt::Orientation orientation() const;
125 void setMaximumVolume(qreal);
126 void setOrientation(
Qt::Orientation);
127 void setMuteVisible(
bool);
128 void setIconSize(const
QSize &size);
136 VolumeSliderPrivate *const k_ptr;
139 Q_PRIVATE_SLOT(k_ptr,
void _k_sliderChanged(
int))
140 Q_PRIVATE_SLOT(k_ptr,
void _k_volumeChanged(qreal))
141 Q_PRIVATE_SLOT(k_ptr,
void _k_mutedChanged(
bool))
142 Q_PRIVATE_SLOT(k_ptr,
void _k_buttonClicked())
143 Q_PRIVATE_SLOT(k_ptr,
void _k_sliderPressed())
144 Q_PRIVATE_SLOT(k_ptr,
void _k_sliderReleased())
Class for audio output to the soundcard.
Widget providing a slider to control the volume of an AudioOutput.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.