mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
docs: remove }; in headers + typo fixes
}; breaks the docgen regex
This commit is contained in:
parent
3bbf39c67e
commit
4dad447570
14 changed files with 79 additions and 79 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue