diff options
Diffstat (limited to 'src/xml/sax/qxml.cpp')
-rw-r--r-- | src/xml/sax/qxml.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp index 717a8c327d..168e8c3cb4 100644 --- a/src/xml/sax/qxml.cpp +++ b/src/xml/sax/qxml.cpp @@ -448,11 +448,11 @@ public: { } - int columnNumber() const Q_DECL_OVERRIDE + int columnNumber() const override { return (reader->d_ptr->columnNr == -1 ? -1 : reader->d_ptr->columnNr + 1); } - int lineNumber() const Q_DECL_OVERRIDE + int lineNumber() const override { return (reader->d_ptr->lineNr == -1 ? -1 : reader->d_ptr->lineNr + 1); } @@ -776,6 +776,11 @@ QXmlAttributes::~QXmlAttributes() { } +/*! + \fn void QXmlAttributes::swap(QXmlAttributes &other) + + Swaps \c this with \a other. + */ /*! Looks up the index of an attribute by the qualified name \a qName. |