Logo Search packages:      
Sourcecode: synaptiks version File versions  Download package

void Touchpad::setOn ( bool  on ) [slot]

Switch the touchpad according to the given parameter.

Parameters:
onif true, switch the touchpad on, otherwise switch it off.
Returns:
true, if successful, false otherwise
See also:
on

Definition at line 140 of file touchpad.cpp.

Referenced by synaptiks::SynaptiksDaemon::SynaptiksDaemon().

                            {
    Q_D(Touchpad);
    d->device->setProperty(OFF, !on);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index