Skip to content

Commit

Permalink
Doc: bool inline to inline bool
Browse files Browse the repository at this point in the history
To correct following type of error message:
Cannot find 'isValidPartOfObjectPath(...)' in \fn ....

Change-Id: I25850c69307511dc9a24a0c937fd219d4d3cb084
Reviewed-by: Martin Smith <[email protected]>
  • Loading branch information
Nico Vertriest committed Oct 4, 2016
1 parent 5af8d06 commit fe2ddd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dbus/qdbusutil_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ namespace Q_DBUS_NO_EXPORT QDBusUtil
Q_DBUS_EXPORT bool isValidInterfaceName(const QString &ifaceName);

Q_DBUS_EXPORT bool isValidUniqueConnectionName(const QStringRef &busName);
bool inline isValidUniqueConnectionName(const QString &busName) { return isValidUniqueConnectionName(QStringRef(&busName)); }
inline bool isValidUniqueConnectionName(const QString &busName) { return isValidUniqueConnectionName(QStringRef(&busName)); }

Q_DBUS_EXPORT bool isValidBusName(const QString &busName);

Q_DBUS_EXPORT bool isValidMemberName(const QStringRef &memberName);
bool inline isValidMemberName(const QString &memberName) { return isValidMemberName(QStringRef(&memberName)); }
inline bool isValidMemberName(const QString &memberName) { return isValidMemberName(QStringRef(&memberName)); }

Q_DBUS_EXPORT bool isValidErrorName(const QString &errorName);

Q_DBUS_EXPORT bool isValidPartOfObjectPath(const QStringRef &path);
bool inline isValidPartOfObjectPath(const QString &path) { return isValidPartOfObjectPath(QStringRef(&path)); }
inline bool isValidPartOfObjectPath(const QString &path) { return isValidPartOfObjectPath(QStringRef(&path)); }

Q_DBUS_EXPORT bool isValidObjectPath(const QString &path);

Expand Down

0 comments on commit fe2ddd8

Please sign in to comment.