┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
AgeCommit message (Collapse)Author
2010-09-17KDirModel takes ownership of the directory lister, so don't delete the ↵Peter Penz
directory lister manually. BUG: 196681 svn path=/trunk/KDE/kdebase/apps/; revision=1176325
2010-08-30Move dolphin's statusbar message-label (the one with support for errors and ↵David Faure
a close button) to libkonq so that it can be used in konqueror as well. Fix its sizeHint. Reviewed by Peter Penz. svn path=/trunk/KDE/kdebase/apps/; revision=1169901
2010-08-27Context-menu cleanups:Peter Penz
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes. - Provide context-sensitive actions also when a context-menu is opened on the viewport BUG: 191938 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-07-24Sourcecode hierarchy cleanup: Move further files from src to src/viewsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
2010-07-24Sourcecode hierarchy cleanup: Create folder "views" and move view related ↵Peter Penz
sources to it svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-07-09Fix another problem with the network:/ ioslave: don't keep the mimetype when ↵David Faure
clicking on an item with a target_url svn path=/trunk/KDE/kdebase/apps/; revision=1147967
2010-03-14Fix compilation on OpenSolaris with Sun StudioPeter Penz
Thanks to Tropikhajma for the patch! BUG: 230251 svn path=/trunk/KDE/kdebase/apps/; revision=1103145
2010-02-23Remove all code that is related to DolphinController'sFrank Reininghaus
requestUrlChange signal. This signal was removed in r1080351, so the code isn't needed any more. svn path=/trunk/KDE/kdebase/apps/; revision=1095213
2010-02-08Separate the parent object (for the knewfilemenu instance) and the parent widgetDavid Faure
(for dialogs it might pop up) so that we can use a non-widget parent. BUG: 218743 svn path=/trunk/KDE/kdebase/apps/; revision=1087087
2010-01-27Implement the --select option in konqueror again, using Peter's nice work in ↵David Faure
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
2010-01-26Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the ↵David Faure
only way to avoid duplicating code until kde5) Port all of kdebase' use of KNewMenu to KNewFileMenu. Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog, and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp svn path=/trunk/KDE/kdebase/apps/; revision=1080547
2009-12-23add version control actions to konqueror context menu if availableolActions()Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1065348
2009-11-25Restore the "Edit->Selection" menu from Konqueror 3 for fileFrank Reininghaus
management. It includes the actions "Select All" and "Select Items Matching a Pattern". This feature will be in KDE 4.4. FEATURE: 197536 svn path=/trunk/KDE/kdebase/apps/; revision=1053976
2009-11-18Warn when the unsuspecting user is about to create a directory that starts ↵David Faure
with a dot, like Sabine's ".csv test files" folder, which did not appear in the directory view after being created. svn path=/trunk/KDE/kdebase/apps/; revision=1051124
2009-11-14When navigating back/forward in the DolphinPart inside Konqueror, rememberFrank Reininghaus
1. the current item, 2. the scroll position of the view, and 3. the expansion state of the details view. Before 3. can be implemented in Dolphin itself, some changes in KUrlNavigator are required. This fix will be in KDE 4.4. BUG: 193549 BUG: 198073 BUG: 213137 svn path=/trunk/KDE/kdebase/apps/; revision=1049164
2009-11-14Cheat a bit with the root item: give it the view URL, rather than the ↵David Faure
dirlister url (e.g. because KDirLister now resolves symlinks) CCBUG: 213799 svn path=/trunk/KDE/kdebase/apps/; revision=1048853
2009-11-10Fix RMB/paste on a subfolder (konq calls pasteTo(KUrl), as documented in ↵David Faure
BrowserExtension) svn path=/trunk/KDE/kdebase/apps/; revision=1047090
2009-11-10While reading this code, I noted that it didn't use KFileItemListProperties ↵David Faure
and was broken in the tree-view case -> fixed and simplified. svn path=/trunk/KDE/kdebase/apps/; revision=1046935
2009-09-21The redirection from zip to file wasn't appearing in konqueror because ↵David Faure
zip:/tmp/ != zip:/tmp -> do comparison without trailing slash. BUG: 207572 svn path=/trunk/KDE/kdebase/apps/; revision=1026289
2009-08-28I wanted to this for KDE 4.1 already, but well...Peter Penz
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier. Currently there are some regressions in the column view, but this will be fixed during the next 14 days. svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-07-29Allow the revision control plugins to indicate information-, error- and ↵Peter Penz
operation-completed messages. svn path=/trunk/KDE/kdebase/apps/; revision=1004346
2009-07-12Same change as in r995015, but for usage in konq: Don't connect to ↵David Faure
KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&). svn path=/trunk/KDE/kdebase/apps/; revision=995123
2009-04-07We don't know the mimetype here, so better not set it at all, konq will ↵David Faure
determine it. Better than setting inode/directory for everything due to the wrong S_IFDIR. Fixes "foo is a file but a dir was expected" error when doing MMB on a file. svn path=/trunk/KDE/kdebase/apps/; revision=950518
2009-04-01KonqFileItemCapabilities -> KFileItemListPropertiesDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=948007
2009-03-26Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 ↵Peter Penz
has been pressed, so that the directory gets automatically selected afterwards. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=945037
2009-03-25BUG: 175658Rahman Duran
GUI: The remote encoding code adapted from Konqueror to Dolphin. Now user can change encoding for remote urls like ftp. Konqueror doesn't use KRemoteEncodingPlugin anymore. Instead, this feature is supplied to Konqueror via DolphinPart. svn path=/trunk/KDE/kdebase/apps/; revision=944659
2009-03-21- Write the settings to the disk as soon as "Apply" or "OK" has been pressed ↵Peter Penz
inside a settings dialog. - Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size). Thanks to Frank Reininghaus and David Faure for the analyses. CCBUG: 175085 svn path=/trunk/KDE/kdebase/apps/; revision=942194
2009-03-17Assure that KNewMenu from DolphinPart attachs itself to the ↵Peter Penz
DolphinNewMenuObserver, so that newly created items get selected (DolphinNewMenu - which attachs itself automatically - cannot be used in DolphinPart). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=940628
2009-03-15a lot of more KUrl::path() -> KUrl::toLocalFile() changes (mostly after a ↵Christian Ehrlicher
check for KUrl::isLocalFile()) svn path=/trunk/KDE/kdebase/apps/; revision=939835
2009-03-10Call updatePasteAction() in DolphinPart::openUrl(). Fixes the problem that ↵Frank Reininghaus
the paste action is disabled in Konqueror on startup. BUG: 186482 svn path=/trunk/KDE/kdebase/apps/; revision=937598
2009-02-17Implement TODO - show the action "expandable folders" in the RMB popup over ↵David Faure
detailed listview. svn path=/trunk/KDE/kdebase/apps/; revision=927297
2009-02-11- allow the view implementations to attach custom actions to the context menuPeter Penz
- let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-01-26Don't crash if parentWidget is 0 (even though I don't recommend setting it ↵David Faure
to 0, the dirlister mainwindow won't be set if you reparent the widget later on) BUG: 161681 svn path=/trunk/KDE/kdebase/apps/; revision=916972
2009-01-19Update the KPart host's status bar info when selection changes.Simon Paul St James
svn path=/trunk/KDE/kdebase/apps/; revision=913713
2009-01-16Remove useless code, replaced with slotRedirection.David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=912124
2009-01-16Repair redirections in DolphinPart, it used to notify of redirections by ↵David Faure
connecting to urlChanged, but iirc there were recent changes which make dolphinview emit redirection instead of urlChanged in that case Makes me wonder if urlChanged is still useful for anything? CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=911974
2008-10-13Konq popupmenu fix: we don't show the "Create new" submenu over subdirs in ↵David Faure
an iconview because you wouldn't see the just-created file/dir, but let's show it in the case of the hiearchical details view ("folders expandable" option), since you can indeed see the new file/dir in that case. Peter: problem solved with itemsExpandable(). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871109
2008-10-05update the statusbar and provide a progress information within the Dolphin ↵Peter Penz
KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-08-07use the global setting for the "Show Delete" commandPeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=843787
2008-07-11Code factorization: move "properties" action and slot to ↵David Faure
DolphinViewActionHandler. svn path=/trunk/KDE/kdebase/apps/; revision=831148
2008-06-29Don't disable the "Properties" action when no file is selected, just use the ↵Peter Penz
current folder as source. TODO: the code in DolphinPart::slotProperties() and DolphinMainWindow::properties() is quite similar -> move to DolphinViewActionHandler? CCMAIL: [email protected] BUG: 165311 svn path=/trunk/KDE/kdebase/apps/; revision=825846
2008-06-18SVN_SILENT: removed unnecessary includesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=821923
2008-06-10Argh my last patch broke plugins. So revert 818988 and do it properly, for ↵David Faure
real this time :) KPluginFactory can take the catalog name as second argument, this is the best fix. CCMAIL: Chusslove Illich <[email protected]> svn path=/trunk/KDE/kdebase/apps/; revision=818989
2008-06-10Revert 818910 and do it properly (patch by dfaure).Chusslove Illich
svn path=/trunk/KDE/kdebase/apps/; revision=818988
2008-06-09Another fix for redirections: "Create New" was missing from the ↵David Faure
konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code) svn path=/trunk/KDE/kdebase/apps/; revision=818721
2008-06-07fix crash when e. g. right clicking on a file using SMB inside KonquerorPeter Penz
BUG: 163358 svn path=/trunk/KDE/kdebase/apps/; revision=817974
2008-06-05When "move_to_trash" is disabled and "delete" is enabled (e.g. non-local files),David Faure
enable a hidden action with Key_Del as shortcut, so that the user can press Del to delete the file. BUG: 76016 svn path=/trunk/KDE/kdebase/apps/; revision=817389
2008-06-05Move the "Create New" action (for the Edit menu, not for the context menu) ↵David Faure
to dolphinpart, so that it doesn't appear while browsing the web [with a filemanagement profile initially]. The point is to make the GUI sensible whatever initial profile was selected and hopefully get rid of konq-filemanagement.rc/konq-webbrowsing.rc. svn path=/trunk/KDE/kdebase/apps/; revision=817326
2008-06-04Continue cleaning up the menus of "konqueror as a webbrowser" : moved "Tools ↵David Faure
/ Open Terminal" action to DolphinPart. Thanks to Kevin for reminding me of this one. svn path=/trunk/KDE/kdebase/apps/; revision=816632
2008-06-02Fix the edit-menu action disabling/enabling bug in dolphinpart finally! ↵George Goldberg
Also, move FileItemCapabilities from dolphin to KonqFileItemCapabilities at dfaure's request (making it implicitly shared along the way). BUGS:161594 svn path=/trunk/KDE/kdebase/apps/; revision=815584