io/fileview: correctly mark signals as signals in docs

This commit is contained in:
outfoxxed 2024-12-06 03:19:58 -08:00
parent 69d13967c9
commit ded3708762
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -294,13 +294,13 @@ public:
///
/// @@atomicWrites and @@blockWrites affect the behavior of this function.
///
/// @@saved() or @@saveFailed() will be emitted on completion.
/// @@saved(s) or @@saveFailed(s) will be emitted on completion.
Q_INVOKABLE void setData(const QByteArray& data);
/// Sets the content of the file specified by @@path as text.
///
/// @@atomicWrites and @@blockWrites affect the behavior of this function.
///
/// @@saved() or @@saveFailed() will be emitted on completion.
/// @@saved(s) or @@saveFailed(s) will be emitted on completion.
///
/// [ArrayBuffer]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Q_INVOKABLE void setText(const QString& text);