From c3584e31018b102f75a8a87a34ccba186f291a04 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 27 Jan 2010 23:55:55 +0000 Subject: Implement the --select option in konqueror again, using Peter's nice work in Dolphin. While at it, I reworked the handling of command-line options in main completely, to factorize code and make --select do the right thing even in case of multiple args (wasn't supported in kde3). svn path=/trunk/KDE/kdebase/apps/; revision=1081246 --- src/dolphinpart.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphinpart.cpp') diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index c8db1c1e1..e005ac29c 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -625,4 +625,9 @@ void DolphinPart::createDirectory() m_newMenu->createDirectory(); } +void DolphinPart::setFilesToSelect(const KUrl::List& files) +{ + m_view->markUrlsAsSelected(files); +} + #include "dolphinpart.moc" -- cgit v1.3