diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-05-13 21:09:38 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-05-23 10:53:30 +0200 |
commit | 865729617349c7fbd39e00079e96863c1107ad00 (patch) | |
tree | a3d8b829b265716c6ba7c29ef3df839a231c5be8 /src/corelib/itemmodels/qitemselectionmodel.cpp | |
parent | f9874ad7bd822b9c3e38b0996ead89af173b9e55 (diff) |
QItemSelectionModel: simplify QItemSelectionRange
Simplify QItemSelectionRange by removing the unneeded
user-defined functions - the compiler can generate them by it's own.
Change-Id: I49c00f937df98bb1ad18057b7bae7a0e06919909
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/itemmodels/qitemselectionmodel.cpp')
-rw-r--r-- | src/corelib/itemmodels/qitemselectionmodel.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/itemmodels/qitemselectionmodel.cpp b/src/corelib/itemmodels/qitemselectionmodel.cpp index 418c425810..fe7be8753b 100644 --- a/src/corelib/itemmodels/qitemselectionmodel.cpp +++ b/src/corelib/itemmodels/qitemselectionmodel.cpp @@ -87,14 +87,6 @@ QT_BEGIN_NAMESPACE */ /*! - \fn QItemSelectionRange::QItemSelectionRange(const QItemSelectionRange &other) - - Copy constructor. Constructs a new selection range with the same contents - as the \a other range given. - -*/ - -/*! \fn QItemSelectionRange::QItemSelectionRange(const QModelIndex &topLeft, const QModelIndex &bottomRight) Constructs a new selection range containing only the index specified @@ -231,13 +223,6 @@ bool QItemSelectionRange::intersects(const QItemSelectionRange &other) const } /*! - \fn QItemSelectionRange QItemSelectionRange::intersect(const QItemSelectionRange &other) const - \obsolete - - Use intersected(\a other) instead. -*/ - -/*! \fn QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange &other) const \since 4.2 |