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

QString DeviceHandler::name ( const QString &  name  )  const [slot]

returns the internal name of the device name

name the device we are looking for
the internal name of the device to be sued by the configuration

Definition at line 560 of file devicehandler.cpp.

    Q_D(const DeviceHandler);
    if (name.contains("pad")) {
        return d->internalPadName;
    if (name.contains("stylus")) {
        return d->internalStylusName;
    if (name.contains("erser")) {
        return d->internalEraserName;
    if (name.contains("cursor")) {
        return d->internalCursorName;
    if (name.contains("touch")) {
        return d->internalTouchName;

    return QString();

Generated by  Doxygen 1.6.0   Back to index