docs: remove }; in headers + typo fixes

}; breaks the docgen regex
This commit is contained in:
outfoxxed 2025-07-24 16:44:10 -07:00
parent 3bbf39c67e
commit 4dad447570
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
14 changed files with 79 additions and 79 deletions

View file

@ -195,7 +195,7 @@ public:
/// While this function requires an exact match, @@heuristicLookup() will correctly
/// find an entry more often and is generally more useful.
Q_INVOKABLE [[nodiscard]] static DesktopEntry* byId(const QString& id);
/// Look up a desktop entry by name using heuristics. Unline @@byId(),
/// Look up a desktop entry by name using heuristics. Unlike @@byId(),
/// if no exact matches are found this function will try to guess - potentially incorrectly.
/// May return null.
Q_INVOKABLE [[nodiscard]] static DesktopEntry* heuristicLookup(const QString& name);

View file

@ -53,7 +53,7 @@ public:
[[nodiscard]] QVariant data(const QModelIndex& index, qint32 role) const override;
[[nodiscard]] QHash<int, QByteArray> roleNames() const override;
[[nodiscard]] QList<QObject*> values() const { return this->valuesList; };
[[nodiscard]] QList<QObject*> values() const { return this->valuesList; }
void removeAt(qsizetype index);
Q_INVOKABLE qsizetype indexOf(QObject* object);

View file

@ -46,8 +46,8 @@ class QsMenuHandle: public QObject {
public:
explicit QsMenuHandle(QObject* parent): QObject(parent) {}
virtual void refHandle() {};
virtual void unrefHandle() {};
virtual void refHandle() {}
virtual void unrefHandle() {}
[[nodiscard]] virtual QsMenuEntry* menu() = 0;

View file

@ -57,7 +57,7 @@ public:
void reload(QObject* oldInstance = nullptr);
void classBegin() override {};
void classBegin() override {}
void componentComplete() override;
// Reload objects in the parent->child graph recursively.