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

void DeviceHandler::reloadDeviceInformation (  ) 

resets all device information and detects the tablet again

Definition at line 119 of file devicehandler.cpp.

References detectTablet().

{
    Q_D(DeviceHandler);

    //reset all values
    d->companyId.clear();
    d->deviceId.clear();
    d->companyName.clear();
    d->deviceName.clear();
    d->deviceModel.clear();
    d->deviceList.clear();
    d->internalPadName.clear();
    d->internalStylusName.clear();
    d->internalEraserName.clear();
    d->internalCursorName.clear();
    d->internalTouchName.clear();
    delete d->curDevice;
    d->curDevice = 0;
    d->isDeviceAvailable = false;
    d->hasPadButtons = false;

    detectTablet();
}


Generated by  Doxygen 1.6.0   Back to index