Fix documentation for QStringList
Explicitly declare members in qdoc runs that are otherwise inherited from QListSpecialMethods. Note: Due to a bug in syncqt, those members need to be added in a separate #ifdef Q_QDOC section. Change-Id: I96850f3665359de4f97be1b8d10f8052ba252fab Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
f26d4def67
commit
de52ad0a0f
@ -85,6 +85,21 @@ class QStringList : public QList<QString>
|
||||
template <> struct QListSpecialMethods<QString>
|
||||
#endif
|
||||
{
|
||||
#ifdef Q_QDOC
|
||||
public:
|
||||
using QList<QString>::QList;
|
||||
QStringList(const QString &str);
|
||||
QStringList(const QList<QString> &other);
|
||||
QStringList(QList<QString> &&other);
|
||||
|
||||
QStringList &operator=(const QList<QString> &other);
|
||||
QStringList &operator=(QList<QString> &&other);
|
||||
QStringList operator+(const QStringList &other) const;
|
||||
QStringList &operator<<(const QString &str);
|
||||
QStringList &operator<<(const QStringList &other);
|
||||
QStringList &operator<<(const QList<QString> &other);
|
||||
private:
|
||||
#endif
|
||||
inline QStringList *self()
|
||||
{ return static_cast<QStringList *>(this); }
|
||||
inline const QStringList *self() const
|
||||
|
Loading…
Reference in New Issue
Block a user