Review Request 128208: [kio] Change to non-deprecated versions of QStyleOption subclasses

Christoph Feck cfeck at kde.org
Thu Jun 16 17:11:25 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128208/
-----------------------------------------------------------

(Updated June 16, 2016, 8:11 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and David Faure.


Changes
-------

Submitted with commit 47983cc093f923fbe6b223ce516b1d77a67c41dd by Christoph Feck to branch master.


Repository: kio


Description
-------

Starting with Qt 5.7, the old QStyleOption*Vn subclasses (e.g. QStyleOptionViewItemV4) are flagged as deprecated.

This patch replaces them with the non-deprecated (unversioned) names. It was generated by a "sed" command, so other than the name changes, there are no differences.


Diffs
-----

  src/filewidgets/kfileplacesview.cpp 5d5fa9d 
  src/filewidgets/kurlnavigatorbuttonbase.cpp 69ce0ad 
  src/widgets/kfileitemdelegate.cpp 11254d2 

Diff: https://git.reviewboard.kde.org/r/128208/diff/


Testing
-------

- Compiles with Qt 5.7 branch and gcc 6.1
- No remaining output from "grep -r QStyleOption[A-Za-z]*V[2-9]"


Thanks,

Christoph Feck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160616/2295c0c7/attachment.html>


More information about the Kde-frameworks-devel mailing list