summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/api/qsourcelocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/api/qsourcelocation.cpp')
-rw-r--r--src/xmlpatterns/api/qsourcelocation.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/xmlpatterns/api/qsourcelocation.cpp b/src/xmlpatterns/api/qsourcelocation.cpp
index 7d61c17..a416cda 100644
--- a/src/xmlpatterns/api/qsourcelocation.cpp
+++ b/src/xmlpatterns/api/qsourcelocation.cpp
@@ -94,7 +94,8 @@ QSourceLocation::~QSourceLocation()
}
/*!
- Returns true if this QSourceLocation is identical to \a other.
+ Returns \c true if this QSourceLocation is equal to \a other; \c false
+ otherwise.
Two QSourceLocation instances are equal if their uri(), line() and
column() are equal.
@@ -110,12 +111,12 @@ bool QSourceLocation::operator==(const QSourceLocation &other) const
}
/*!
- Returns the opposite of applying operator==() for this QXmlName
- and \a other.
+ Returns \c true if this QSourceLocation is not equal to \a other; \c false
+ otherwise.
*/
bool QSourceLocation::operator!=(const QSourceLocation &other) const
{
- return operator==(other);
+ return !operator==(other);
}
/*!