┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
AgeCommit message (Collapse)Author
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-10-08Context menu cleanupsPeter Penz
- Open the context menu on the mouse-press event, not on the mouse-release event. - Provide an explicit position-information and don't use QCursor::pos(). This fixes the issue that opening a context-menu by the keyboard opens below the cursor. - Provide different signals in the KItemListController for the different context-menu types (item vs. view vs. header). - Implement turning on/off roles by the header-context-menu.
2011-08-29Renamed some signals for consistency with KItemViews classesPeter Penz
2011-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-04-10Readd KFind shortcut for the Dolphin KPartPeter Penz
When the searching has been integrated into Dolphin the "Find File..." entry had been removed from the Tools menu. Readd it into the Dolphin KPart so that it is still available for Konqueror. BUG: 270072 FIXED-IN: 4.7.0
2011-02-10revert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91aChristoph Thielecke
2011-02-10compile fix: includes does only exist with old names, please fix kde headers tooChristoph Thielecke
2011-02-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-04Use capitalized KDE includesPeter Penz
2011-01-09Encapsulate the creation and handling of the directory lister, the model and ↵Peter Penz
proxy model to DolphinView. By this it will be easier later to replace the traditional QAbstractItemViews by any kind of other implementation (e.g. based on QGraphicsView/QML). svn path=/trunk/KDE/kdebase/apps/; revision=1213189
2010-11-04Interface cleanup: The DolphinView should not expose ↵Peter Penz
QAbstractItemView-specific things like QItemSelectionModel. Just providing interfaces for KFileItem and KUrl will make it easier in future to change the view-implementations internally to QML-specific itemviews or whatever. svn path=/trunk/KDE/kdebase/apps/; revision=1193113
2010-11-01Added implementation of the FileInfoExtension to allow KPart plugins to ↵Dawit Alemayehu
obtain such information svn path=/trunk/KDE/kdebase/apps/; revision=1191993
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