Logo Search packages:      
Sourcecode: d3lphin version File versions  Download package

void Dolphin::toggleSortOrder (  )  [private, slot]

Switches between an ascending and descending sorting order.

Definition at line 788 of file dolphin.cpp.

References DolphinView::setSortOrder(), and DolphinView::sortOrder().

{
    const Qt::SortOrder order = (m_activeView->sortOrder() == Qt::Ascending) ?
                                Qt::Descending :
                                Qt::Ascending;
    m_activeView->setSortOrder(order);
}


Generated by  Doxygen 1.6.0   Back to index