Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25096

Qt 5 to-do's in QTreeWidget

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.0.0 Beta 1
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      QTreeWidget contains three Qt 5 to-do comments:

      qtbase/src/widgets/itemviews/qtreewidget.cpp
      /*!
          \internal
      
          ### Qt 5: remove
      */
      void QTreeWidget::setSortingEnabled(bool enable)
      {
          QTreeView::setSortingEnabled(enable);
      }
      
      /*!
          \internal
      
          ### Qt 5: remove
      */
      bool QTreeWidget::isSortingEnabled() const
      {
          return QTreeView::isSortingEnabled();
      }
      
      qtbase/src/widgets/itemviews/qtreewidget.h
          int indexOfTopLevelItem(QTreeWidgetItem *item); // ### Qt 5: remove me
          int indexOfTopLevelItem(QTreeWidgetItem *item) const;
      

      If these comments can be handled without breaking source-compatibility, they should be actioned for Qt 5.0.0. If not, they should be removed or changed to Qt 6 to-do's.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              stephen.kelly Stephen Kelly (Unused account) (Inactive)
              Reporter:
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes