Changeset View
Changeset View
Standalone View
Standalone View
libkookascan/kscandevice.h
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
---|---|---|---|---|---|
170 | * Acquires a scan from the current scanner device. | 170 | * Acquires a scan from the current scanner device. | ||
171 | * When the scan is complete, a result image will be sent by | 171 | * When the scan is complete, a result image will be sent by | ||
172 | * @c sigNewImage. | 172 | * @c sigNewImage. | ||
173 | * | 173 | * | ||
174 | * @param filename File name to load, for virtual scanner test mode. | 174 | * @param filename File name to load, for virtual scanner test mode. | ||
175 | * If this is a null or empty string, a real scan is performed. | 175 | * If this is a null or empty string, a real scan is performed. | ||
176 | * @return The status of the operation | 176 | * @return The status of the operation | ||
177 | **/ | 177 | **/ | ||
178 | KScanDevice::Status acquireScan(const QString &filename = QString::null); | 178 | KScanDevice::Status acquireScan(const QString &filename = QString()); | ||
179 | 179 | | |||
180 | /** | 180 | /** | ||
181 | * Get the standard file name for saving the preview image for the | 181 | * Get the standard file name for saving the preview image for the | ||
182 | * current scanner. | 182 | * current scanner. | ||
183 | * | 183 | * | ||
184 | * @return Preview file name | 184 | * @return Preview file name | ||
185 | * | 185 | * | ||
186 | * @note Saving the preview image this does not actually work unless a | 186 | * @note Saving the preview image this does not actually work unless a | ||
▲ Show 20 Lines • Show All 442 Lines • Show Last 20 Lines |