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

void Dolphin::slotSortOrderChanged ( Qt::SortOrder  order  )  [slot]

Updates the state of the 'Sort Ascending/Descending' action.

Definition at line 271 of file dolphin.cpp.

{
    KToggleAction* descending = static_cast<KToggleAction*>(actionCollection()->action("descending"));
    const bool sortDescending = (order == Qt::Descending);
    descending->setChecked(sortDescending);
}


Generated by  Doxygen 1.6.0   Back to index