forked from quickshell/quickshell
		
	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
 | 
						/// While this function requires an exact match, @@heuristicLookup() will correctly
 | 
				
			||||||
	/// find an entry more often and is generally more useful.
 | 
						/// find an entry more often and is generally more useful.
 | 
				
			||||||
	Q_INVOKABLE [[nodiscard]] static DesktopEntry* byId(const QString& id);
 | 
						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.
 | 
						/// if no exact matches are found this function will try to guess - potentially incorrectly.
 | 
				
			||||||
	/// May return null.
 | 
						/// May return null.
 | 
				
			||||||
	Q_INVOKABLE [[nodiscard]] static DesktopEntry* heuristicLookup(const QString& name);
 | 
						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]] QVariant data(const QModelIndex& index, qint32 role) const override;
 | 
				
			||||||
	[[nodiscard]] QHash<int, QByteArray> roleNames() 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);
 | 
						void removeAt(qsizetype index);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Q_INVOKABLE qsizetype indexOf(QObject* object);
 | 
						Q_INVOKABLE qsizetype indexOf(QObject* object);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -46,8 +46,8 @@ class QsMenuHandle: public QObject {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	explicit QsMenuHandle(QObject* parent): QObject(parent) {}
 | 
						explicit QsMenuHandle(QObject* parent): QObject(parent) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	virtual void refHandle() {};
 | 
						virtual void refHandle() {}
 | 
				
			||||||
	virtual void unrefHandle() {};
 | 
						virtual void unrefHandle() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] virtual QsMenuEntry* menu() = 0;
 | 
						[[nodiscard]] virtual QsMenuEntry* menu() = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -57,7 +57,7 @@ public:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	void reload(QObject* oldInstance = nullptr);
 | 
						void reload(QObject* oldInstance = nullptr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	void classBegin() override {};
 | 
						void classBegin() override {}
 | 
				
			||||||
	void componentComplete() override;
 | 
						void componentComplete() override;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Reload objects in the parent->child graph recursively.
 | 
						// Reload objects in the parent->child graph recursively.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -168,9 +168,9 @@ class DBusBindableProperty: public DBusPropertyCore {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	explicit DBusBindableProperty() { this->group()->attachProperty(this); }
 | 
						explicit DBusBindableProperty() { this->group()->attachProperty(this); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QString name() const override { return Name; };
 | 
						[[nodiscard]] QString name() const override { return Name; }
 | 
				
			||||||
	[[nodiscard]] QStringView nameRef() const override { return Name; };
 | 
						[[nodiscard]] QStringView nameRef() const override { return Name; }
 | 
				
			||||||
	[[nodiscard]] bool isRequired() const override { return required; };
 | 
						[[nodiscard]] bool isRequired() const override { return required; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QString valueString() override {
 | 
						[[nodiscard]] QString valueString() override {
 | 
				
			||||||
		QString str;
 | 
							QString str;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -55,7 +55,7 @@ public:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// the buffer will be sent in both slots if there is data remaining from a previous parser
 | 
						// the buffer will be sent in both slots if there is data remaining from a previous parser
 | 
				
			||||||
	virtual void parseBytes(QByteArray& incoming, QByteArray& buffer) = 0;
 | 
						virtual void parseBytes(QByteArray& incoming, QByteArray& buffer) = 0;
 | 
				
			||||||
	virtual void streamEnded(QByteArray& /*buffer*/) {};
 | 
						virtual void streamEnded(QByteArray& /*buffer*/) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
signals:
 | 
					signals:
 | 
				
			||||||
	/// Emitted when data is read from the stream.
 | 
						/// Emitted when data is read from the stream.
 | 
				
			||||||
| 
						 | 
					@ -63,7 +63,7 @@ signals:
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
///! DataStreamParser for delimited data streams.
 | 
					///! DataStreamParser for delimited data streams.
 | 
				
			||||||
/// DataStreamParser for delimited data streams. @@read() is emitted once per delimited chunk of the stream.
 | 
					/// DataStreamParser for delimited data streams. @@DataStreamParser.read(s) is emitted once per delimited chunk of the stream.
 | 
				
			||||||
class SplitParser: public DataStreamParser {
 | 
					class SplitParser: public DataStreamParser {
 | 
				
			||||||
	Q_OBJECT;
 | 
						Q_OBJECT;
 | 
				
			||||||
	/// The delimiter for parsed data. May be multiple characters. Defaults to `\n`.
 | 
						/// The delimiter for parsed data. May be multiple characters. Defaults to `\n`.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -164,7 +164,7 @@ class IpcHandler: public PostReloadHook {
 | 
				
			||||||
	QML_ELEMENT;
 | 
						QML_ELEMENT;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	explicit IpcHandler(QObject* parent = nullptr): PostReloadHook(parent) {};
 | 
						explicit IpcHandler(QObject* parent = nullptr): PostReloadHook(parent) {}
 | 
				
			||||||
	~IpcHandler() override;
 | 
						~IpcHandler() override;
 | 
				
			||||||
	Q_DISABLE_COPY_MOVE(IpcHandler);
 | 
						Q_DISABLE_COPY_MOVE(IpcHandler);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -274,23 +274,23 @@ public:
 | 
				
			||||||
	[[nodiscard]] bool isValid() const;
 | 
						[[nodiscard]] bool isValid() const;
 | 
				
			||||||
	[[nodiscard]] QString address() const;
 | 
						[[nodiscard]] QString address() const;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanControl() const { return &this->bCanControl; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanControl() const { return &this->bCanControl; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanSeek() const { return &this->bCanSeek; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanSeek() const { return &this->bCanSeek; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanGoNext() const { return &this->bCanGoNext; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanGoNext() const { return &this->bCanGoNext; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanGoPrevious() const { return &this->bCanGoPrevious; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanGoPrevious() const { return &this->bCanGoPrevious; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanPlay() const { return &this->bCanPlay; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanPlay() const { return &this->bCanPlay; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanPause() const { return &this->bCanPause; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanPause() const { return &this->bCanPause; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanTogglePlaying() const {
 | 
						[[nodiscard]] QBindable<bool> bindableCanTogglePlaying() const {
 | 
				
			||||||
		return &this->bCanTogglePlaying;
 | 
							return &this->bCanTogglePlaying;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanQuit() const { return &this->bCanQuit; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanQuit() const { return &this->bCanQuit; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanRaise() const { return &this->bCanRaise; };
 | 
						[[nodiscard]] QBindable<bool> bindableCanRaise() const { return &this->bCanRaise; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableCanSetFullscreen() const {
 | 
						[[nodiscard]] QBindable<bool> bindableCanSetFullscreen() const {
 | 
				
			||||||
		return &this->bCanSetFullscreen;
 | 
							return &this->bCanSetFullscreen;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableIdentity() const { return &this->bIdentity; };
 | 
						[[nodiscard]] QBindable<QString> bindableIdentity() const { return &this->bIdentity; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableDesktopEntry() const { return &this->bDesktopEntry; };
 | 
						[[nodiscard]] QBindable<QString> bindableDesktopEntry() const { return &this->bDesktopEntry; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] qlonglong positionMs() const;
 | 
						[[nodiscard]] qlonglong positionMs() const;
 | 
				
			||||||
	[[nodiscard]] qreal position() const;
 | 
						[[nodiscard]] qreal position() const;
 | 
				
			||||||
| 
						 | 
					@ -300,49 +300,49 @@ public:
 | 
				
			||||||
	[[nodiscard]] qreal length() const;
 | 
						[[nodiscard]] qreal length() const;
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableLengthSupported() const { return &this->bLengthSupported; }
 | 
						[[nodiscard]] QBindable<bool> bindableLengthSupported() const { return &this->bLengthSupported; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] qreal volume() const { return this->bVolume; };
 | 
						[[nodiscard]] qreal volume() const { return this->bVolume; }
 | 
				
			||||||
	[[nodiscard]] bool volumeSupported() const;
 | 
						[[nodiscard]] bool volumeSupported() const;
 | 
				
			||||||
	void setVolume(qreal volume);
 | 
						void setVolume(qreal volume);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<quint32> bindableUniqueId() const { return &this->bUniqueId; };
 | 
						[[nodiscard]] QBindable<quint32> bindableUniqueId() const { return &this->bUniqueId; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QVariantMap> bindableMetadata() const { return &this->bMetadata; };
 | 
						[[nodiscard]] QBindable<QVariantMap> bindableMetadata() const { return &this->bMetadata; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableTrackTitle() const { return &this->bTrackTitle; };
 | 
						[[nodiscard]] QBindable<QString> bindableTrackTitle() const { return &this->bTrackTitle; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableTrackAlbum() const { return &this->bTrackAlbum; };
 | 
						[[nodiscard]] QBindable<QString> bindableTrackAlbum() const { return &this->bTrackAlbum; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableTrackAlbumArtist() const {
 | 
						[[nodiscard]] QBindable<QString> bindableTrackAlbumArtist() const {
 | 
				
			||||||
		return &this->bTrackAlbumArtist;
 | 
							return &this->bTrackAlbumArtist;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableTrackArtist() const { return &this->bTrackArtist; };
 | 
						[[nodiscard]] QBindable<QString> bindableTrackArtist() const { return &this->bTrackArtist; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableTrackArtUrl() const { return &this->bTrackArtUrl; };
 | 
						[[nodiscard]] QBindable<QString> bindableTrackArtUrl() const { return &this->bTrackArtUrl; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] MprisPlaybackState::Enum playbackState() const { return this->bPlaybackState; };
 | 
						[[nodiscard]] MprisPlaybackState::Enum playbackState() const { return this->bPlaybackState; }
 | 
				
			||||||
	void setPlaybackState(MprisPlaybackState::Enum playbackState);
 | 
						void setPlaybackState(MprisPlaybackState::Enum playbackState);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] bool isPlaying() const { return this->bIsPlaying; };
 | 
						[[nodiscard]] bool isPlaying() const { return this->bIsPlaying; }
 | 
				
			||||||
	void setPlaying(bool playing);
 | 
						void setPlaying(bool playing);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] MprisLoopState::Enum loopState() const { return this->bLoopState; };
 | 
						[[nodiscard]] MprisLoopState::Enum loopState() const { return this->bLoopState; }
 | 
				
			||||||
	[[nodiscard]] bool loopSupported() const;
 | 
						[[nodiscard]] bool loopSupported() const;
 | 
				
			||||||
	void setLoopState(MprisLoopState::Enum loopState);
 | 
						void setLoopState(MprisLoopState::Enum loopState);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] qreal rate() const { return this->bRate; };
 | 
						[[nodiscard]] qreal rate() const { return this->bRate; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableMinRate() const { return &this->bRate; };
 | 
						[[nodiscard]] QBindable<qreal> bindableMinRate() const { return &this->bRate; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableMaxRate() const { return &this->bRate; };
 | 
						[[nodiscard]] QBindable<qreal> bindableMaxRate() const { return &this->bRate; }
 | 
				
			||||||
	void setRate(qreal rate);
 | 
						void setRate(qreal rate);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] bool shuffle() const { return this->bShuffle; };
 | 
						[[nodiscard]] bool shuffle() const { return this->bShuffle; }
 | 
				
			||||||
	[[nodiscard]] bool shuffleSupported() const;
 | 
						[[nodiscard]] bool shuffleSupported() const;
 | 
				
			||||||
	void setShuffle(bool shuffle);
 | 
						void setShuffle(bool shuffle);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] bool fullscreen() const { return this->bFullscreen; };
 | 
						[[nodiscard]] bool fullscreen() const { return this->bFullscreen; }
 | 
				
			||||||
	void setFullscreen(bool fullscreen);
 | 
						void setFullscreen(bool fullscreen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<QList<QString>> bindableSupportedUriSchemes() const {
 | 
						[[nodiscard]] QBindable<QList<QString>> bindableSupportedUriSchemes() const {
 | 
				
			||||||
		return &this->bSupportedUriSchemes;
 | 
							return &this->bSupportedUriSchemes;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<QList<QString>> bindableSupportedMimeTypes() const {
 | 
						[[nodiscard]] QBindable<QList<QString>> bindableSupportedMimeTypes() const {
 | 
				
			||||||
		return &this->bSupportedMimeTypes;
 | 
							return &this->bSupportedMimeTypes;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
signals:
 | 
					signals:
 | 
				
			||||||
	/// The track has changed.
 | 
						/// The track has changed.
 | 
				
			||||||
| 
						 | 
					@ -414,7 +414,7 @@ private:
 | 
				
			||||||
	void onPlaybackStatusUpdated();
 | 
						void onPlaybackStatusUpdated();
 | 
				
			||||||
	// call instead of setting bpPosition
 | 
						// call instead of setting bpPosition
 | 
				
			||||||
	void setPosition(qlonglong position);
 | 
						void setPosition(qlonglong position);
 | 
				
			||||||
	void requestPositionUpdate() { this->pPosition.requestUpdate(); };
 | 
						void requestPositionUpdate() { this->pPosition.requestUpdate(); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// clang-format off
 | 
						// clang-format off
 | 
				
			||||||
	Q_OBJECT_BINDABLE_PROPERTY(MprisPlayer, QString, bIdentity, &MprisPlayer::identityChanged);
 | 
						Q_OBJECT_BINDABLE_PROPERTY(MprisPlayer, QString, bIdentity, &MprisPlayer::identityChanged);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,7 +51,7 @@ class MprisQml: public QObject {
 | 
				
			||||||
	Q_PROPERTY(UntypedObjectModel* players READ players CONSTANT);
 | 
						Q_PROPERTY(UntypedObjectModel* players READ players CONSTANT);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	explicit MprisQml(QObject* parent = nullptr): QObject(parent) {};
 | 
						explicit MprisQml(QObject* parent = nullptr): QObject(parent) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] ObjectModel<MprisPlayer>* players();
 | 
						[[nodiscard]] ObjectModel<MprisPlayer>* players();
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -154,29 +154,29 @@ public:
 | 
				
			||||||
	[[nodiscard]] bool isLastGeneration() const;
 | 
						[[nodiscard]] bool isLastGeneration() const;
 | 
				
			||||||
	void setLastGeneration();
 | 
						void setLastGeneration();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableExpireTimeout() const { return &this->bExpireTimeout; };
 | 
						[[nodiscard]] QBindable<qreal> bindableExpireTimeout() const { return &this->bExpireTimeout; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableAppName() const { return &this->bAppName; };
 | 
						[[nodiscard]] QBindable<QString> bindableAppName() const { return &this->bAppName; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableAppIcon() const { return &this->bAppIcon; };
 | 
						[[nodiscard]] QBindable<QString> bindableAppIcon() const { return &this->bAppIcon; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableSummary() const { return &this->bSummary; };
 | 
						[[nodiscard]] QBindable<QString> bindableSummary() const { return &this->bSummary; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableBody() const { return &this->bBody; };
 | 
						[[nodiscard]] QBindable<QString> bindableBody() const { return &this->bBody; }
 | 
				
			||||||
	[[nodiscard]] QBindable<NotificationUrgency ::Enum> bindableUrgency() const {
 | 
						[[nodiscard]] QBindable<NotificationUrgency ::Enum> bindableUrgency() const {
 | 
				
			||||||
		return &this->bUrgency;
 | 
							return &this->bUrgency;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QList<NotificationAction*> actions() const;
 | 
						[[nodiscard]] QList<NotificationAction*> actions() const;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableHasActionIcons() const { return &this->bHasActionIcons; };
 | 
						[[nodiscard]] QBindable<bool> bindableHasActionIcons() const { return &this->bHasActionIcons; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableResident() const { return &this->bResident; };
 | 
						[[nodiscard]] QBindable<bool> bindableResident() const { return &this->bResident; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableTransient() const { return &this->bTransient; };
 | 
						[[nodiscard]] QBindable<bool> bindableTransient() const { return &this->bTransient; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableDesktopEntry() const { return &this->bDesktopEntry; };
 | 
						[[nodiscard]] QBindable<QString> bindableDesktopEntry() const { return &this->bDesktopEntry; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableImage() const { return &this->bImage; };
 | 
						[[nodiscard]] QBindable<QString> bindableImage() const { return &this->bImage; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableHasInlineReply() const { return &this->bHasInlineReply; };
 | 
						[[nodiscard]] QBindable<bool> bindableHasInlineReply() const { return &this->bHasInlineReply; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder() const {
 | 
						[[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder() const {
 | 
				
			||||||
		return &this->bInlineReplyPlaceholder;
 | 
							return &this->bInlineReplyPlaceholder;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<QVariantMap> bindableHints() const { return &this->bHints; };
 | 
						[[nodiscard]] QBindable<QVariantMap> bindableHints() const { return &this->bHints; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] NotificationCloseReason::Enum closeReason() const;
 | 
						[[nodiscard]] NotificationCloseReason::Enum closeReason() const;
 | 
				
			||||||
	void setTracked(bool tracked);
 | 
						void setTracked(bool tracked);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -55,8 +55,8 @@ protected:
 | 
				
			||||||
	void registryBind(const char* interface, quint32 version);
 | 
						void registryBind(const char* interface, quint32 version);
 | 
				
			||||||
	virtual void bind();
 | 
						virtual void bind();
 | 
				
			||||||
	void unbind();
 | 
						void unbind();
 | 
				
			||||||
	virtual void bindHooks() {};
 | 
						virtual void bindHooks() {}
 | 
				
			||||||
	virtual void unbindHooks() {};
 | 
						virtual void unbindHooks() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	quint32 refcount = 0;
 | 
						quint32 refcount = 0;
 | 
				
			||||||
	pw_proxy* object = nullptr;
 | 
						pw_proxy* object = nullptr;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@ class UPower: public QObject {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
	[[nodiscard]] UPowerDevice* displayDevice();
 | 
						[[nodiscard]] UPowerDevice* displayDevice();
 | 
				
			||||||
	[[nodiscard]] ObjectModel<UPowerDevice>* devices();
 | 
						[[nodiscard]] ObjectModel<UPowerDevice>* devices();
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableOnBattery() const { return &this->bOnBattery; };
 | 
						[[nodiscard]] QBindable<bool> bindableOnBattery() const { return &this->bOnBattery; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static UPower* instance();
 | 
						static UPower* instance();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -173,25 +173,25 @@ public:
 | 
				
			||||||
	[[nodiscard]] QString address() const;
 | 
						[[nodiscard]] QString address() const;
 | 
				
			||||||
	[[nodiscard]] QString path() const;
 | 
						[[nodiscard]] QString path() const;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	[[nodiscard]] QBindable<UPowerDeviceType::Enum> bindableType() const { return &this->bType; };
 | 
						[[nodiscard]] QBindable<UPowerDeviceType::Enum> bindableType() const { return &this->bType; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindablePowerSupply() const { return &this->bPowerSupply; };
 | 
						[[nodiscard]] QBindable<bool> bindablePowerSupply() const { return &this->bPowerSupply; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableEnergy() const { return &this->bEnergy; };
 | 
						[[nodiscard]] QBindable<qreal> bindableEnergy() const { return &this->bEnergy; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableEnergyCapacity() const { return &this->bEnergyCapacity; };
 | 
						[[nodiscard]] QBindable<qreal> bindableEnergyCapacity() const { return &this->bEnergyCapacity; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableChangeRate() const { return &this->bChangeRate; };
 | 
						[[nodiscard]] QBindable<qreal> bindableChangeRate() const { return &this->bChangeRate; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qlonglong> bindableTimeToEmpty() const { return &this->bTimeToEmpty; };
 | 
						[[nodiscard]] QBindable<qlonglong> bindableTimeToEmpty() const { return &this->bTimeToEmpty; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qlonglong> bindableTimeToFull() const { return &this->bTimeToFull; };
 | 
						[[nodiscard]] QBindable<qlonglong> bindableTimeToFull() const { return &this->bTimeToFull; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindablePercentage() const { return &this->bPercentage; };
 | 
						[[nodiscard]] QBindable<qreal> bindablePercentage() const { return &this->bPercentage; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableIsPresent() const { return &this->bIsPresent; };
 | 
						[[nodiscard]] QBindable<bool> bindableIsPresent() const { return &this->bIsPresent; }
 | 
				
			||||||
	[[nodiscard]] QBindable<UPowerDeviceState::Enum> bindableState() const { return &this->bState; };
 | 
						[[nodiscard]] QBindable<UPowerDeviceState::Enum> bindableState() const { return &this->bState; }
 | 
				
			||||||
	[[nodiscard]] QBindable<qreal> bindableHealthPercentage() const {
 | 
						[[nodiscard]] QBindable<qreal> bindableHealthPercentage() const {
 | 
				
			||||||
		return &this->bHealthPercentage;
 | 
							return &this->bHealthPercentage;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableHealthSupported() const { return &this->bHealthSupported; };
 | 
						[[nodiscard]] QBindable<bool> bindableHealthSupported() const { return &this->bHealthSupported; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableIconName() const { return &this->bIconName; };
 | 
						[[nodiscard]] QBindable<QString> bindableIconName() const { return &this->bIconName; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableIsLaptopBattery() const { return &this->bIsLaptopBattery; };
 | 
						[[nodiscard]] QBindable<bool> bindableIsLaptopBattery() const { return &this->bIsLaptopBattery; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableNativePath() const { return &this->bNativePath; };
 | 
						[[nodiscard]] QBindable<QString> bindableNativePath() const { return &this->bNativePath; }
 | 
				
			||||||
	[[nodiscard]] QBindable<QString> bindableModel() const { return &this->bModel; };
 | 
						[[nodiscard]] QBindable<QString> bindableModel() const { return &this->bModel; }
 | 
				
			||||||
	[[nodiscard]] QBindable<bool> bindableReady() const { return &this->bReady; };
 | 
						[[nodiscard]] QBindable<bool> bindableReady() const { return &this->bReady; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
signals:
 | 
					signals:
 | 
				
			||||||
	QSDOC_HIDE void readyChanged();
 | 
						QSDOC_HIDE void readyChanged();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -139,8 +139,8 @@ protected:
 | 
				
			||||||
	void printChildCountWarning() const;
 | 
						void printChildCountWarning() const;
 | 
				
			||||||
	void updateGeometry();
 | 
						void updateGeometry();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	virtual void disconnectChild() {};
 | 
						virtual void disconnectChild() {}
 | 
				
			||||||
	virtual void connectChild() {};
 | 
						virtual void connectChild() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	QQuickItem* mWrapper = nullptr;
 | 
						QQuickItem* mWrapper = nullptr;
 | 
				
			||||||
	QQuickItem* mAssignedWrapper = nullptr;
 | 
						QQuickItem* mAssignedWrapper = nullptr;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue