[rekonq] About moveTab Function

Andrea Diamantini adjam7 at gmail.com
Tue Oct 11 09:33:38 UTC 2011


On Tuesday 11 October 2011 10:09:51 Furkan Üzümcü wrote:
> OK. I solved the problem. It works now. I have to emit two signals for it.
> I'm guessing one for the tabbar itself and the other for the webtabs. Am I
> right?
> emit tabMoved(2, 0);
> emit moveTab(2, 0);

$ grep tabMoved * -r
src/mainview.cpp:93:    connect(tabBar, SIGNAL(tabMoved(int, int)),     
m_widgetBar, SLOT(moveBar(int, int)));

$ grep moveTab * -r
src/mainview.cpp:483:    removeTab(index);

So, I guess you should just emit the tabMoved signal to fix order also in the 
widgetBar (the urlbar container. Does it need a better name?)

-- 
Andrea Diamantini, adjam
GPG Fingerprint: 57DE 8E32 7D1A 0E16 AA52 59D8 84F9 3ECD DBF9 730F

rekonq project
WEB: http://rekonq.kde.org
IRC: rekonq at freenode


More information about the rekonq mailing list