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

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

Moves the selected items of the active view to the trash.

Definition at line 525 of file dolphin.cpp.

References DolphinView::selectedURLs(), and DolphinView::url().

    KURL::List selectedURLs = m_activeView->selectedURLs();
    KIO::Job* job = KIO::trash(selectedURLs);
    addPendingUndoJob(job, DolphinCommand::Trash, selectedURLs, m_activeView->url());

Generated by  Doxygen 1.6.0   Back to index