mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
Fix wrong apidox
The duration argument is used as input of QTimer::start(), which requires milliseconds and not seconds. REVIEW: 129894
This commit is contained in:
parent
7f3eebd9f3
commit
3b610bd86a
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue