KSaneCore
option.h
34 enum OptionType { TypeDetectFail, TypeBool, TypeInteger, TypeDouble, TypeValueList, TypeString, TypeGamma, TypeAction };
40 enum OptionUnit { UnitNone, UnitPixel, UnitBit, UnitMilliMeter, UnitDPI, UnitPercent, UnitMicroSecond, UnitSecond };
A wrapper class providing access to the internal KSaneBaseOption to access all options provided by KS...
Definition option.h:29
void valueChanged(const QVariant &value)
This signal is emitted when the current value is updated, either when a user sets a new value or by a...
void optionReloaded()
This signal is emitted when the option is reloaded, which may happen if the value of other options ha...
bool setValue(const QVariant &value)
This slot allows to change the current value of the option.
Definition option.cpp:141
OptionState
This enumeration describes the current statue of the value of the option, indicating if this option s...
Definition option.h:46
QVariant value() const
This function returns the currently active value for the option.
Definition option.cpp:114
OptionUnit
This enumeration describes the unit of the value of the option, if any.
Definition option.h:40
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:49:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:49:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.