Changeset View
Changeset View
Standalone View
Standalone View
tests/test_functions_rust.h
Show All 22 Lines | 20 | public: | |||
---|---|---|---|---|---|
23 | QString userName() const; | 23 | QString userName() const; | ||
24 | void setUserName(const QString& v); | 24 | void setUserName(const QString& v); | ||
25 | Q_INVOKABLE void append(const QString& suffix, quint32 amount); | 25 | Q_INVOKABLE void append(const QString& suffix, quint32 amount); | ||
26 | Q_INVOKABLE void doubleName(); | 26 | Q_INVOKABLE void doubleName(); | ||
27 | Q_INVOKABLE QString greet(const QString& name) const; | 27 | Q_INVOKABLE QString greet(const QString& name) const; | ||
28 | Q_INVOKABLE QString quote(const QString& prefix, const QString& suffix) const; | 28 | Q_INVOKABLE QString quote(const QString& prefix, const QString& suffix) const; | ||
29 | Q_INVOKABLE QByteArray quoteBytes(const QByteArray& prefix, const QByteArray& suffix) const; | 29 | Q_INVOKABLE QByteArray quoteBytes(const QByteArray& prefix, const QByteArray& suffix) const; | ||
30 | Q_INVOKABLE quint8 vowelsInName() const; | 30 | Q_INVOKABLE quint8 vowelsInName() const; | ||
31 | signals: | 31 | Q_SIGNALS: | ||
32 | void userNameChanged(); | 32 | void userNameChanged(); | ||
33 | }; | 33 | }; | ||
34 | #endif // TEST_FUNCTIONS_RUST_H | 34 | #endif // TEST_FUNCTIONS_RUST_H |