src/writely/WriterUI.cpp
/**
 * This method is queried by QML modules.
 * Return the information about the invoke request.
 */
This method is queried by QML modules.
Return the information about the invoke request.
This method is queried by QML modules . Return the information about the invoke request .
QVariantMap WriterUI::invokeOptions() {
    QVariantMap result;
    result["action"]   = mEmbeddedData["requestAction"].toString();
    if ( mEmbeddedData.contains("requestUri") )
        result["uri"]  = mEmbeddedData["requestUri"].toString();
    if ( mEmbeddedData.contains("requestData") )
        result["data"] = mEmbeddedData["requestData"].toString();
    return result;
}
QVariantMap WriterUI :: invokeOptions ( ) { QVariantMap result ; result [ " " ] = mEmbeddedData [ " " ] . toString ( ) ; if ( mEmbeddedData . contains ( " " ) ) result [ " " ] = mEmbeddedData [ " " ] . toString ( ) ; if ( mEmbeddedData . contains ( " " ) ) result [ " " ] = mEmbeddedData [ " " ] . toString ( ) ; return result ; }
This method is queried by QML modules.
This method is queried by QML modules .