Commit e8e4cd76 authored by Joao Oliveira's avatar Joao Oliveira

Added documentation for the new Document functions

parent d627c444
Pipeline #6978 passed with stage
in 15 minutes and 21 seconds
......@@ -676,7 +676,14 @@ class OKULARCORE_EXPORT Document : public QObject
void processFormatAction( const Action *action, Okular::FormFieldText *field );
/**
* Processes the given keystroke @p action on @p field.
* Processes the given keystroke @p action on the @p field.
*
* @param action Is the action to be executed by the function.
* @param field The field which this action will be executed for.
* @param returnCode This is the value returned by the JavaScript processed by the action, if true, the
* input is valid.
* @param changeFormText This dictates if the keystroke action will change the field. If true, we change
* the form text.
*
* @since 1.9
*/
......@@ -1066,6 +1073,11 @@ class OKULARCORE_EXPORT Document : public QObject
*/
QByteArray requestSignedRevisionData( const Okular::SignatureInfo &info );
/**
* Recalculates the value of all the fields that have a calculate action.
*
* @since 1.9
*/
void recalculateForms();
Q_SIGNALS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment