KSaneCore
interface.h
137 OpenStatus openRestrictedDevice(const QString &deviceName, const QString &userName, const QString &password);
264 * @note KSaneCore::Interface may return one or more images as a result of one invocation of this slot.
270 * *scanImage() that must be guarded lockScanImage() and unlockScanImage() before and after the access.
278 * A preferred preview DPI can be set via setPreviewResolution(), but will be adjusted to capabilities
This class provides the core interface for accessing the scan controls and options.
Definition interface.h:34
void previewImageReady(const QImage &previewImage)
This signal is emitted when a preview scan is ready.
OptionName
This enumeration is used to obtain a specific option with getOption(KSaneOptionName).
Definition interface.h:63
void scannedImageReady(const QImage &scannedImage)
This signal is emitted when a final scan is ready.
void previewScanFinished(KSaneCore::Interface::ScanStatus status, const QString &strStatus)
This signal is emitted when the scanning for a preview has ended.
ScanStatus
Enum defining the message level of the returned scan status string.
Definition interface.h:43
void availableDevices(const QList< DeviceInformation * > &deviceList)
This signal is emitted every time the device list is updated or after reloadDevicesList() is called.
void scanFinished(KSaneCore::Interface::ScanStatus status, const QString &strStatus)
This signal is emitted when the scanning has ended.
void batchModeCountDown(int remainingSeconds)
This signal is emitted for the count down when in batch mode.
void previewProgress(int percent)
This signal is emitted for progress information during a preview scan.
void userMessage(KSaneCore::Interface::ScanStatus status, const QString &strStatus)
This signal is emitted when the user is to be notified about something.
void scanProgress(int percent)
This signal is emitted for progress information during a scan.
void buttonPressed(const QString &optionName, const QString &optionLabel, bool pressed)
This signal is emitted when a hardware button is pressed.
A wrapper class providing access to the internal KSaneBaseOption to access all options provided by KS...
Definition option.h:29
Q_SCRIPTABLE CaptureState status()
Option
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:46:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:46:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.