┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
AgeCommit message (Collapse)Author
2011-02-28Fix issue that wrong directory is shownPeter Penz
Commit 680009b522b2c9eda03201ac02dc18994b5a8bd0 resulted in a regression when switching from a view in the column-mode to a view in the icon- or details-mode: The wrong content has been shown. This patch reverts commit 680009b522b2c9eda03201ac02dc18994b5a8bd0 and solves the performance-issue in combination with previews by triggering the preview-generation in a queued way.
2011-02-13Improve performance when turning on the preview modePeter Penz
If a change from a directory with disabled previews is done to a directory with enabled previews, also previews are generated for the previous directory as the preview-generator still contains the not updated directory lister. Because of this it is important to apply the view-properties after the directory-lister has been updated.
2011-02-09Coding style update for pointer comparisonPeter Penz
Most developers seem to prefer if (ptr) ... if (!ptr) ... in comparison to if (ptr != 0) ... if (ptr == 0) ... Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-04Update e-mail address from [email protected] to [email protected]Peter Penz
2011-02-04Use capitalized KDE includesPeter Penz
2011-01-09Don't trigger a slotDirListerCompleted() when the directory lister has been ↵Peter Penz
cancelled. Beside leading to a crash for the unit tests this is semantically wrong. svn path=/trunk/KDE/kdebase/apps/; revision=1213203
2011-01-09Fix implementation of DolphinView::invertSelection() which assures that ↵Peter Penz
DolphinView::hasSelection() provides a valid return-value. This looks like an issue in Qt, but I did not have the time yet to provide a Qt-only example for a bug-report :-( svn path=/trunk/KDE/kdebase/apps/; revision=1213199
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
2011-01-01Forward-port: Restore keyboard-focus when changing the view-modePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1210699
2011-01-01Forward port: Don't grab the focus if the view did not have the focus already.Peter Penz
CCBUG: 261147 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1210659
2010-12-15Fix issue that the enabled state of the "Create New..." menu is not updated ↵Peter Penz
correctly in the column-view. BUG: 258534 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1206749
2010-12-10Show an undetermined progress indication within one second after changing an ↵Peter Penz
URL. Update to SVN commit 1205329: - Fix issue that an undetermined progress is shown when switching between columns of the column-view. - Fix issue that no undetermined progress is shown when editing the URL directly in the URL navigator BUG: 234894 BUG: 163004 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1205345
2010-11-26Also reconnect signals for the directory lister when changing the view or ↵Peter Penz
the URL, as the directory lister might change in the case of the column view (based on a patch from Frank Reininghaus) svn path=/trunk/KDE/kdebase/apps/; revision=1201082
2010-11-20removed: include of unused (and deprecated) headerFriedrich W. H. Kossebau
svn path=/trunk/KDE/kdebase/apps/; revision=1199149
2010-11-08Remember the root-URL when saving the state of a view. This allows to ↵Peter Penz
restore a column-view correctly when going back in history. svn path=/trunk/KDE/kdebase/apps/; revision=1194323
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-10-10Internal cleanup: Remove some public toggle-slots from DolphinView. Setters- ↵Peter Penz
and getters are already available for implementing a toggling. svn path=/trunk/KDE/kdebase/apps/; revision=1184459
2010-10-10Internal cleanup: Remove public method selectedUrls() from DolphinView to ↵Peter Penz
keep the interface minimal (selectedItems() is already available) svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-09After disconnecting and reconnecting to the selectionChangedSignal() it must ↵Peter Penz
be checked, whether the selection got reset in the meantime. svn path=/trunk/KDE/kdebase/apps/; revision=1184262
2010-10-08Fix issue in column-view, that the icon size has been increased when several ↵Peter Penz
columns are open and a switch to the icon-view is done. svn path=/trunk/KDE/kdebase/apps/; revision=1183919
2010-10-05SVN_SILENT: Remove commented (and obsolete) codePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1182780
2010-10-05- Integrate the patch from Matthias Fuchs from ↵Peter Penz
http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s. - Move the renaming code into the RenameDialog CCMAIL: [email protected] BUG: 226761 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1182776
2010-09-22Unbelievable: I simply forgot to implement the Stop-action in Dolphin since ↵Peter Penz
KDE SC 4.0. Well better later than never: Done now :-) BUG: 233836 svn path=/trunk/KDE/kdebase/apps/; revision=1178344
2010-09-04Never ignore the view-properties if "Use common view properties for all ↵Peter Penz
folders" has been set, otherwise the view-properties switch when searching files won't work. Originally this flag has been introduced when working with a split view, however I consider the behavior to always respect the view-properties when changing a folder more consistent anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1171589
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-08-19Initialize the zoom slider correctly on startup (regression introduced in 4.5.0)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1165572
2010-08-19Fix crash in column view because of a dangling pointer to a selection model. ↵Peter Penz
Thanks a lot to Frank Reininghaus for finding a way how to reproduce the issue and analyzing the root cause. Keeping the selection model as part of the DolphinView is not required anymore at all, as the restoring of selected items is done by m_selectedItems in the meantime. CCBUG: 247618 svn path=/trunk/KDE/kdebase/apps/; revision=1165532
2010-08-07Fix spelling errors reported by crazyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1160316
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