diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2012-03-03 06:05:54 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-14 11:37:18 +0100 |
commit | b64426248d2212eb59535b2ca383d30fdb5e1c7a (patch) | |
tree | 2f6be98708d89fd9d513e4af61f4da62a9607e70 /dist | |
parent | 7220d7f365d6cfa500db8517493c453603575c8b (diff) |
QHeaderView - renaming functions in Qt5
This patch renames the functions in Qt5 according to the
notes. It also renames resizeMode to be consistent.
The old functions are both marked with both QT_DEPRECATED
and '### Qt 6 - remove'
All usage of the function within the qtbase are also
changed to use the new functions.
Change-Id: I9e05fa41d232e9ca43b945fcc949987017f3aedd
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 80ea702b76..3bc23c810a 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -352,6 +352,22 @@ QtWidgets the proper Qt API: due to the version bump, QStyle will try to use the additional QStyleOption members, which are left default-initialized. +* QHeaderView - The following functions have been obsoleted. + + * void setMovable(bool movable) - use void setSectionsMovable(bool movable) instead. + + * bool isMovable() const - use bool sectionsMovable() const instead. + + * void setClickable(bool clickable) - use void setSectionsClickable(bool clickable) instead. + + * bool isClickable() const - use bool sectionsClickable() instead. + + * void setResizeMode(int logicalindex, ResizeMode mode) - + use setSectionResizeMode(logicalindex, mode) instead. + + * ResizeMode resizeMode(int logicalindex) const - + use sectionResizeMode(int logicalindex) instead. + QtNetwork --------- * QHostAddress::isLoopback() API added. Returns true if the address is |