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

QString ProfileManagement::transformButtonFromConfig ( PenButton  mode,
QString &  buttonParam 

Transforms the pen button function value as read from the KConfig file into a human readable version

mode Enumeration function mode
buttonParam Value of the button mode
Human readable button function

Definition at line 338 of file profilemanagement.cpp.

    buttonParam.remove("core key", Qt::CaseInsensitive);
    buttonParam.replace(QRegExp("\\s?quotedbl\\s?", Qt::CaseInsensitive), "\"");
    return buttonParam;

Generated by  Doxygen 1.6.0   Back to index