diff --git a/src/corelib/text/qstringlist.h b/src/corelib/text/qstringlist.h index 3ed6a2f499..2894fa78cf 100644 --- a/src/corelib/text/qstringlist.h +++ b/src/corelib/text/qstringlist.h @@ -85,6 +85,21 @@ class QStringList : public QList template <> struct QListSpecialMethods #endif { +#ifdef Q_QDOC +public: + using QList::QList; + QStringList(const QString &str); + QStringList(const QList &other); + QStringList(QList &&other); + + QStringList &operator=(const QList &other); + QStringList &operator=(QList &&other); + QStringList operator+(const QStringList &other) const; + QStringList &operator<<(const QString &str); + QStringList &operator<<(const QStringList &other); + QStringList &operator<<(const QList &other); +private: +#endif inline QStringList *self() { return static_cast(this); } inline const QStringList *self() const