Changeset View
Changeset View
Standalone View
Standalone View
src/ksanewidget.h
Context not available. | |||||
211 | 211 | | |||
---|---|---|---|---|---|
212 | /** This method can be used to write many parameter values at once. | 212 | /** This method can be used to write many parameter values at once. | ||
213 | * @param opts is a QMap with the parameter names and values. | 213 | * @param opts is a QMap with the parameter names and values. | ||
214 | * @return This function returns the number of successful writes. */ | 214 | * @return This function returns the number of successful writes | ||
215 | * or -1 if scanning is in progress. */ | ||||
215 | int setOptVals(const QMap <QString, QString> &opts); | 216 | int setOptVals(const QMap <QString, QString> &opts); | ||
216 | 217 | | |||
217 | /** This function reads one parameter value into a string. | 218 | /** This function reads one parameter value into a string. | ||
Context not available. | |||||
223 | /** This function writes one parameter value into a string. | 224 | /** This function writes one parameter value into a string. | ||
224 | * @param optname is the name of the parameter to write. | 225 | * @param optname is the name of the parameter to write. | ||
225 | * @param value is the string representation of the value. | 226 | * @param value is the string representation of the value. | ||
226 | * @return this function returns true if the write was successful. */ | 227 | * @return this function returns true if the write was successful and | ||
228 | * false if it was unsuccessful or scanning is in progress. */ | ||||
227 | bool setOptVal(const QString &optname, const QString &value); | 229 | bool setOptVal(const QString &optname, const QString &value); | ||
228 | 230 | | |||
229 | /** This function sets the label on the final scan button | 231 | /** This function sets the label on the final scan button | ||
Context not available. |