[PATCH] KTabWidget / KTabBar changes for Qt 4.5

Urs Wolfer uwolfer at kde.org
Sat Feb 21 11:58:19 GMT 2009


Please review the following patch.

Changes related to Qt 4.5 QTabWidget / QTabBar improvements:
* Deprecate:
  * KTabBar/KTabWidget#isTabReorderingEnabled; use QTabBar#setMovable
  * KTabBar/KTabWidget#setCloseButtonEnabled; use QTabBar#setTabsClosable
  * KTabBar/KTabWidget#setTabCloseActivatePrevious; use 
QTabBar#setSelectionBehaviorOnRemove
  * signal KTabBar#moveTab; port to QTabBar#setMovable and connect to 
QTabBar#tabMoved
  * signal KTabBar#closeRequest; connect to QTabBar#tabCloseRequested

Remove all the close icon related code; call instead QTabBar code internally 
already.
There are some known rendering issues with Qt 4.5 QTabBar which need to be 
fixed in Oxygen style. See #184782.

Bye
urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ktabbar_ktabwidget_qt45.patch
Type: text/x-patch
Size: 17706 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090221/89e3a4c1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090221/89e3a4c1/attachment.sig>


More information about the kde-core-devel mailing list