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

void TabletApplet::selectAbsoluteMode ( bool  state  )  [slot]

Sets the stylus and eraser mode to absolute

Called when selected from the Radiobuttons

state state of the radiobutton when clicked

Definition at line 169 of file tabletapplet.cpp.

References m_deviceInterface, m_eraserName, m_radioButtonRelative, and m_stylusName.

Referenced by buildConfigDialog().

    if (state) {
        m_deviceInterface->call("setConfiguration", m_stylusName, "Mode", "absolute");
        m_deviceInterface->call("setConfiguration", m_eraserName, "Mode", "absolute");

Generated by  Doxygen 1.6.0   Back to index