Compatibility Members for QAbstractSlider

The following members of class QAbstractSliderare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

void addLine()
void addPage()
int lineStep() const
int maxValue() const
int minValue() const
void setLineStep(int v)
void setMaxValue(int v)
void setMinValue(int v)
void setSteps(int single, int page)
void subtractLine()
void subtractPage()
  • 57 public functions inherited from QWidget
  • 8 public functions inherited from QObject
  • 8 public functions inherited from QPaintDevice

Member Function Documentation

void QAbstractSlider::addLine()

Use triggerAction(QAbstractSlider::SliderSingleStepAdd) instead.

void QAbstractSlider::addPage()

Use triggerAction(QAbstractSlider::SliderPageStepAdd) instead.

int QAbstractSlider::lineStep() const

Use singleStep() instead.

See also setLineStep().

int QAbstractSlider::maxValue() const

Use maximum() instead.

See also setMaxValue().

int QAbstractSlider::minValue() const

Use minimum() instead.

See also setMinValue().

void QAbstractSlider::setLineStep(int v)

Use setSingleStep() instead.

See also lineStep().

void QAbstractSlider::setMaxValue(int v)

Use setMaximum() instead.

See also maxValue().

void QAbstractSlider::setMinValue(int v)

Use setMinimum() instead.

See also minValue().

void QAbstractSlider::setSteps(int single, int page)

Use setSingleStep(single) followed by setPageStep(page) instead.

void QAbstractSlider::subtractLine()

Use triggerAction(QAbstractSlider::SliderSingleStepSub) instead.

void QAbstractSlider::subtractPage()

Use triggerAction(QAbstractSlider::SliderPageStepSub) instead.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.