emit selectionChanged(selection);
}
-void DolphinMainWindow::slotWheelMoved(int wheelDelta)
-{
- if (wheelDelta > 0) {
- activatePrevTab();
- } else {
- activateNextTab();
- }
-}
-
void DolphinMainWindow::slotRequestItemInfo(const KFileItem& item)
{
emit requestItemInfo(item);
this, SLOT(openNewTab()));
connect(m_tabBar, SIGNAL(testCanDecode(const QDragMoveEvent*, bool&)),
this, SLOT(slotTestCanDecode(const QDragMoveEvent*, bool&)));
- connect(m_tabBar, SIGNAL(wheelDelta(int)),
- this, SLOT(slotWheelMoved(int)));
connect(m_tabBar, SIGNAL(mouseMiddleClick(int)),
this, SLOT(closeTab(int)));
connect(m_tabBar, SIGNAL(tabMoved(int, int)),
*/
void slotSelectionChanged(const KFileItemList& selection);
- /** Enables changing of tabs via mouse wheel. */
- void slotWheelMoved(int wheelDelta);
-
/** Emits the signal requestItemInfo(). */
void slotRequestItemInfo(const KFileItem&);