┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2010-01-27 23:55:55 +0000
committerDavid Faure <[email protected]>2010-01-27 23:55:55 +0000
commitc3584e31018b102f75a8a87a34ccba186f291a04 (patch)
tree173ff77a56cf85fed2b6d35f0d942f33c50a49a9 /src/dolphinpart.cpp
parent6de569ab40bf85324533b4ee4e42099f83d65a7d (diff)
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
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp5
1 files changed, 5 insertions, 0 deletions
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"