From kde-core-devel Sun Feb 22 23:26:46 2009 From: Andreas Pakulat Date: Sun, 22 Feb 2009 23:26:46 +0000 To: kde-core-devel Subject: Re: [PATCH] KTabWidget / KTabBar changes for Qt 4.5 Message-Id: <20090222232646.GA3561 () barmbek> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=123534525019245 On 21.02.09 12:58:19, Urs Wolfer wrote: > 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. Is there any porting information for apps available? At least in KDevelop replacing the KTabWidget code for enabling close-buttons with Qt4.5 API completely broke the close buttons. So I guess there's something else that one needs to do to make that work. If so IMHO a porting example should be added to KTabWidget and/or KTabBar. Andreas -- A visit to a strange place will bring fresh work.