Problems with KTabBar::setTabReorderingEnabled
amantia at kde.org
Sun Jun 13 00:09:39 BST 2004
On Friday 11 June 2004 23:16, Alexander Dymo wrote:
> On Friday 11 June 2004 17:34, Andras Mantia wrote:
> > > > Try with Quanta.
> > >
> > > I can reproduce it with Quanta, and I blame kmdi then. :-)
> Can't be reproduced in KDevelop (we are using kmdi too).
> > Well, I don't use tabWidget() at all in other places (no calls for
> > indexOf() and currentPageIndex()), so I don't even know what should
> > I do in a slot connected to movedTab().
> Even if you don't use tabWidget() kmdi stores the order of opened
> documents by itself and if you don't connect to movedTab you will
> break the document traverse order (the same alt-left, alt-right, I
> We do this in KDevelop:
> void NewMainWindow::tabMoved( int from, int to )
> KMdiChildView *view = m_pDocumentViews->at(from);
> m_pDocumentViews->insert(to, view);
In that case I think this should be done in KMDI itself in a
KMdiMainFrm::setTabReorderingEnabled(bool) which enables the tab
reordering and connects the movedTab() to the above slot.
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel