Logo Search packages:      
Sourcecode: kcm-tablet version File versions  Download package

void DeviceHandler::selectDeviceBackend ( const QString &  backendName  )  [private]

Sets the backend for the settings based on the name in the company list data file Support is only available for xsetwacom at the moment, will hopefully change in the future

Parameters:
backendName name of the used backend as specified in the device overview list

Definition at line 462 of file devicehandler.cpp.

Referenced by setDeviceInformation().

{
    Q_D(DeviceHandler);
    //@TODO add switch statement to handle other backends too
    if (backendName == QString("wacom-tools")) {
        d->curDevice = new WacomInterface();
    }

    if (!d->curDevice) {
        kError() << "unknown device backend!" << backendName;
    }
}


Generated by  Doxygen 1.6.0   Back to index