diff options
Diffstat (limited to 'src/widgets/itemviews/qheaderview_p.h')
-rw-r--r-- | src/widgets/itemviews/qheaderview_p.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/widgets/itemviews/qheaderview_p.h b/src/widgets/itemviews/qheaderview_p.h index d6e6ab991a..cca81b0c22 100644 --- a/src/widgets/itemviews/qheaderview_p.h +++ b/src/widgets/itemviews/qheaderview_p.h @@ -314,10 +314,6 @@ public: void setDefaultSectionSize(int size); void recalcSectionStartPos() const; // not really const - inline int headerSectionCount() const { // for debugging - return sectionItems.count(); - } - inline int headerLength() const { // for debugging int len = 0; for (int i = 0; i < sectionItems.count(); ++i) @@ -325,20 +321,6 @@ public: return len; } - inline void removeSpans(const QList<int> &spans) { - for (int i = spans.count() - 1; i >= 0; --i) { - length -= sectionItems.at(spans.at(i)).size; - sectionItems.remove(spans.at(i)); - } - } - - inline int sectionSpanIndex(int visual) const { - if (visual < sectionItems.count() && visual >= 0) { - return visual; - } - return -1; - } - int headerSectionSize(int visual) const; int headerSectionPosition(int visual) const; int headerVisualIndexAt(int position) const; |