Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3b610bd8 authored by Elvis Angelaccio's avatar Elvis Angelaccio

Fix wrong apidox

The duration argument is used as input of QTimer::start(),
which requires milliseconds and not seconds.

REVIEW: 129894
parent 7f3eebd9
......@@ -980,7 +980,7 @@ class OKULARCORE_EXPORT Document : public QObject
* This signal is emitted whenever an error occurred.
*
* @param text The description of the error.
* @param duration The time in seconds the message should be shown to the user.
* @param duration The time in milliseconds the message should be shown to the user.
*/
void error( const QString &text, int duration );
......@@ -988,7 +988,7 @@ class OKULARCORE_EXPORT Document : public QObject
* This signal is emitted to signal a warning.
*
* @param text The description of the warning.
* @param duration The time in seconds the message should be shown to the user.
* @param duration The time in milliseconds the message should be shown to the user.
*/
void warning( const QString &text, int duration );
......@@ -996,7 +996,7 @@ class OKULARCORE_EXPORT Document : public QObject
* This signal is emitted to signal a notice.
*
* @param text The description of the notice.
* @param duration The time in seconds the message should be shown to the user.
* @param duration The time in milliseconds the message should be shown to the user.
*/
void notice( const QString &text, int duration );
......
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