Commit graph

307 commits

Author SHA1 Message Date
Peter Penz eaeee9f7d6 Start of refactoring so that the metadata widget can be moved outside of Dolphin for other applications. The temporary removed code will be integrated again within the next 10 days (-> currently no meta data is shown and cannot be updated).
svn path=/trunk/KDE/kdebase/apps/; revision=1033585
2009-10-10 14:13:50 +00:00
Matthias Fuchs ec6144e5cf Use a desktop-file for completion-items for the dolphin-search-box.
svn path=/trunk/KDE/kdebase/apps/; revision=1033040
2009-10-09 10:39:32 +00:00
Peter Penz 1a528b0cf1 Originally it was intended to move the SVN plugin from Dolphin to kdevplatform, but kdevplatform most probably won't get released with KDE 4.4. So for KDE 4.4 Dolphin will temporary contain the plugin in it's own codebase. As soon as kdevplatform will get released the SVN plugin will get moved to kdevplatform.
Still open: KServiceTypeTrader::query does not find the "FileViewVersionControlPlugin", I could not find the root cause for this yet (old cache?)

svn path=/trunk/KDE/kdebase/apps/; revision=1022921
2009-09-13 14:49:26 +00:00
Peter Penz c05395ef9a Move code for initializing and handling view extensions to the new class ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before.
Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later.

svn path=/trunk/KDE/kdebase/apps/; revision=1016893
2009-08-29 09:42:21 +00:00
Peter Penz 41c14c5f8e I wanted to this for KDE 4.1 already, but well...
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-08-28 21:04:15 +00:00
Peter Penz d84909dc36 * Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.
* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-08-13 20:48:58 +00:00
Peter Penz 99eacd9f56 move statusbar code into the directory "statusbar"
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-08-01 20:01:51 +00:00
Peter Penz fa4680cb38 Enable Dolphin to show the revision states of files that are under revision control systems like SVN, Git, CVS, ... The current code is an early draft and it is planned that all plugins (SVN, Git, CVS, ...) are maintained outside Dolphin. If the API is stable enough, a discussion will be done at kfm-devel@kde.org regarding the location of the plugins (the current implementation of SubversionPlugin is only temporary located in Dolphin for testing purposes).
RevisionControlObserver is implemented in a way that no recognizable slowdown is given for directories that are not under revision control.

CCBUG: 192158

svn path=/trunk/KDE/kdebase/apps/; revision=995351
2009-07-12 14:00:45 +00:00
Peter Penz dc29afa688 The complexity of the class InformationPanel has grown a lot from KDE 4.0 to KDE 4.3. One main reason is that a lot of things are done now asynchronously with timers to prevent a blocking UI and unnecessary expensive operations.
To keep the Information Panel maintainable and prepared for future features a cleanup has been done. The whole user interface handling has been moved into the class InformationPanelContent that offers a straight forward interface: showItem(const KFileItem& item) and showItems(const KFileItemList& items).

The class InformationPanel is responsible for calling those methods in a way that hovering items, changing directories, doing selections, rename and delete operations, ... don't result in calling showItem() 10 times per second.

This cleanup won't be backported to KDE 4.3.x

svn path=/trunk/KDE/kdebase/apps/; revision=991902
2009-07-05 22:54:37 +00:00
Peter Penz 1e208254c5 The file ktooltip.h contained the three public classes KToolTip, KToolTipDelegate and KToolTipItem. Use one separate file for each class.
svn path=/trunk/KDE/kdebase/apps/; revision=984646
2009-06-21 10:20:28 +00:00
Peter Penz 6e3e08e33c Simplify how Nepomuk comments can be edited by the user:
- don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget
- automatically save changes, no explicit confirmation required

svn path=/trunk/KDE/kdebase/apps/; revision=984592
2009-06-21 08:16:03 +00:00
Alessandro Diaferia f2d889b349 * share Context Menu page settings from dolphin with konqueror
* Make KonqPopupMenu aware of the CopyTo/MoveTo settings from konqueror and dolphin


svn path=/trunk/KDE/kdebase/apps/; revision=955015
2009-04-16 18:55:19 +00:00
Rahman Duran 897b376df2 SVN_SILENT:
Make dolphinremoteencoding included in dolphinprivate.

svn path=/trunk/KDE/kdebase/apps/; revision=944693
2009-03-25 23:02:49 +00:00
Rahman Duran bd2f7179de BUG: 175658
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-25 22:00:50 +00:00
Peter Penz b8c2f53777 After creating an item with the "Create New..." menu, the new item should get selected and it must be assured that the item stays visible. Thanks a lot to Rahman Duran for the original patch and the good discussions :-)
Open issues:
- F10 shortcut does not work yet (interface extension might be done in KNewMenu)
- Does not work in column view yet, but this is a colum view specific issue.

CCMAIL: rahman.duran@gmail.com
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=940624
2009-03-17 20:47:03 +00:00
Peter Penz 27a4b76871 allow to hide the rating, comments and tags of the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=937915
2009-03-10 19:21:21 +00:00
Peter Penz 7361b724e4 provide a context menu for the Information Panel, which allows to show/hide meta information
svn path=/trunk/KDE/kdebase/apps/; revision=937910
2009-03-10 19:04:45 +00:00
Peter Penz aed1525abc added dialog to configure which meta data should be shown in the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=934828
2009-03-03 21:17:35 +00:00
Peter Penz de0f1d23b3 add KCM for the services settings, so that they are also accessible in Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=932520
2009-02-26 20:38:42 +00:00
Jonathan Riddell 7e644ffebc Remove preview icon, it isn't used, pollutes the hicolour namespace
and Oxygen already has a preview icon which Dolphin already uses (view-preview).

svn path=/trunk/KDE/kdebase/apps/; revision=929116
2009-02-20 17:07:59 +00:00
Shaun Reich 8ce343ba3d Added the Trash KCM to Dolphin, it's visible in the Settings Dialog, in the 'Trash" page.
Konqueror has it, we should too =)

svn path=/trunk/KDE/kdebase/apps/; revision=926571
2009-02-15 18:06:04 +00:00
Simon Paul St James 9d3ed99ab0 Initial import of Matthias's draft patch for adding video and audio previewing (similar to the file dialog) to Dolphin's metadata panel. Since Phonon is currently in-process only with the memory/ stability issues that come with this, this might have to be disabled by default - we'll see how it goes. Thanks, Matthias!
CCMAIL:kretz@kde.org
CCMAIL:peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=917389
2009-01-27 19:50:21 +00:00
Peter Penz d85a6ec6dd Use a custom SearchWidget instead directly using a KLineEdit. Currently the DolphinSearchWidget acts as "playground" to test some ideas. If it works well it might be a good idea moving this widget as KSearchBox (?) to kdelibs, so that it can be used by the file dialog or other applications.
svn path=/trunk/KDE/kdebase/apps/; revision=913572
2009-01-19 14:25:08 +00:00
Peter Penz 514fe2be7e added settings module 'General' that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913414
2009-01-19 11:11:11 +00:00
Peter Penz 0772ebc3aa added settings module for 'Navigation', that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913405
2009-01-19 10:39:11 +00:00
Peter Penz 8acb68ed28 Relayout of the settings dialog, so that all Dolphin KPart relevant settings can be made available in Konqueror's settings dialog too. Further cleanups and layout fixes are required and will be done during the next week.
svn path=/trunk/KDE/kdebase/apps/; revision=912587
2009-01-17 18:42:06 +00:00
Peter Penz 24b3fb6f6c cleanup sort order, so that it is easier later to split the files into several CMakeLists.txt
svn path=/trunk/KDE/kdebase/apps/; revision=911094
2009-01-14 20:22:17 +00:00
Peter Penz f37ecd6ecf Cleanup panel related class names: The terms "sidebar"/"sidebarpage" are relicts from the KDE 3 version of Dolphin and are called "Panels" in the KDE 4 version of Dolphin. Yes, renaming classes may take more than 1 year ;-)
svn path=/trunk/KDE/kdebase/apps/; revision=911089
2009-01-14 20:14:36 +00:00
Peter Penz 307285e963 Group classes into folders, Dolphin is too big in the meantime for having a flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later.
svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-14 19:26:23 +00:00
Peter Penz 53bdec9b58 Fixed serious usability issue: QAbstractItemView::setAutoScroll() is not usable when trying to select items outside the visible view area (reported to Qt Software with bug ID #214542) -> implemented custom auto scrolling algorithm.
BUG: 165531

svn path=/trunk/KDE/kdebase/apps/; revision=893546
2008-12-06 20:06:04 +00:00
Christian Ehrlicher ae45bc9e18 win32 link++
svn path=/trunk/KDE/kdebase/apps/; revision=888070
2008-11-23 17:36:48 +00:00
David Faure e98e218564 Fix "two instances of the DragAndDropHelper" singleton: Vir found the reason, draganddrophelper.cpp was compiled
both into libdolphinprivate and into dolphin.
Also fix missing newline in copyright header.

svn path=/trunk/KDE/kdebase/apps/; revision=882336
2008-11-10 13:48:43 +00:00
Andreas Hartmetz 1fabd1bab5 link with gold
svn path=/trunk/KDE/kdebase/apps/; revision=876282
2008-10-26 23:55:34 +00:00
Peter Penz 0ff69a11b8 use the DolphinDirLister instead of KDirLister
svn path=/trunk/KDE/kdebase/apps/; revision=875703
2008-10-25 09:49:57 +00:00
Peter Penz e7bd514a39 * Move code from DolphinDropController to DragAndDropHelper.
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later...

CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-24 22:19:23 +00:00
Peter Penz 0190459ebd KBallonTipDelegate is not used at all in Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=874947
2008-10-22 21:02:55 +00:00
Peter Penz 994095076c Assure that the item delegate draws the hover effect and the selection for the details view only above the icon + name. Open issue: The performance when selecting files by the rubberband is too slow (will be fixed before KDE 4.2).
CCBUG: 165999
CCMAIL: simon@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=871874
2008-10-15 21:23:42 +00:00
Marijn Kruisselbrink db2013a2fd make dolphin link correctly on mac osx
svn path=/trunk/KDE/kdebase/apps/; revision=866393
2008-09-30 19:05:26 +00:00
Peter Penz f8a973dc4a KFilePreviewGenerator has been moved to kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=865707
2008-09-28 18:34:05 +00:00
Peter Penz 4d886d083c renamed IconManager to KFilePreviewGenerator
svn path=/trunk/KDE/kdebase/apps/; revision=863324
2008-09-21 19:57:37 +00:00
Peter Penz ca7aaecbdb Provide a common iconsize-widget for the settings dialog of the icons-, details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...).
svn path=/trunk/KDE/kdebase/apps/; revision=852961
2008-08-26 22:21:50 +00:00
Simon Paul St James cfe2838006 Very rough initial attempt at previews-in-tooltip for Konqueror and Dolphin. Still needs extensive work in positioning, scaling/ padding items to fit, and timing things so that the previews are more likely to have been generated when the tooltip is positioned and displayed.
CCBUG:161848

svn path=/trunk/KDE/kdebase/apps/; revision=848984
2008-08-18 20:33:21 +00:00
Peter Penz b94777f9d1 Provide functionality for auto-expanding folders (the whole patch has been provided by Simon St James). The setting is currently not offered in the GUI, as some minor remaining issues must be fixed.
CCMAIL: kdedevel@etotheipiplusone.com

svn path=/trunk/KDE/kdebase/apps/; revision=845975
2008-08-12 18:36:49 +00:00
Thiago Macieira 208549cefc Make dolphin link to KIO (reduced library interface problem)
svn path=/trunk/KDE/kdebase/apps/; revision=842706
2008-08-05 20:04:30 +00:00
Dirk Mueller 6861a87683 fix linking
svn path=/trunk/KDE/kdebase/apps/; revision=824530
2008-06-26 01:29:37 +00:00
Peter Penz 8fd40e72aa Just use KMimeType::extractKnownExtension() instead of the custom implementation. Thanks to David Faure for the hint!
svn path=/trunk/KDE/kdebase/apps/; revision=819137
2008-06-10 17:22:24 +00:00
David Faure 162436801d Argh my last patch broke plugins. So revert 818988 and do it properly, for real this time :)
KPluginFactory can take the catalog name as second argument, this is the best fix.
CCMAIL: Chusslove Illich <caslav.ilic@gmx.net>

svn path=/trunk/KDE/kdebase/apps/; revision=818989
2008-06-10 09:15:19 +00:00
Chusslove Illich e5840f23f9 Revert 818910 and do it properly (patch by dfaure).
svn path=/trunk/KDE/kdebase/apps/; revision=818988
2008-06-10 09:07:59 +00:00
Allen Winter e431abda40 move the create config-nepomuk.h higher so dolphinprivate sources can find it.
add a macro_log_feature() message

svn path=/trunk/KDE/kdebase/apps/; revision=816293
2008-06-03 14:44:10 +00:00
Sebastian Trueg a70fcc6353 Fixed Nepomuk dependancy checking
svn path=/trunk/KDE/kdebase/apps/; revision=816282
2008-06-03 14:34:10 +00:00
George Goldberg 0a3a481ee2 Fix the edit-menu action disabling/enabling bug in dolphinpart finally! 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
2008-06-02 10:07:13 +00:00
Laurent Montel 66b47bf3d2 Use INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdebase/apps/; revision=813304
2008-05-27 11:36:57 +00:00
David Faure 7059f31bc8 Use FindQImageBlitz.cmake instead of deprecated FindBlitz.cmake
svn path=/trunk/KDE/kdebase/apps/; revision=804272
2008-05-05 14:21:55 +00:00
David Faure fd98230020 Move "Adjust view properties" to dolphinviewactionhandler so that it's available in dolphinpart (konqueror) too.
Bug reported by kde-bug-hunter "lemma".

svn path=/trunk/KDE/kdebase/apps/; revision=804037
2008-05-04 21:16:30 +00:00
Allen Winter 08fbcf8c30 link in XRender, if found.
svn path=/trunk/KDE/kdebase/apps/; revision=801388
2008-04-26 13:45:18 +00:00
Peter Penz 9e2b078d03 Provide horizontal auto scrolling for the tree view (implemented by Harald Hvaal). As soon as KTreeView is matured enough, it can be discussed whether it should be moved to kdelibs for KDE 4.2.
CCMAIL: haraldhv@stud.ntnu.no

svn path=/trunk/KDE/kdebase/apps/; revision=799723
2008-04-22 05:45:16 +00:00
Peter Penz 7d0080868b Consider the protocol and directory capabilities for file actions like Move To/Copy To (note that this is just an initial version; adjustments must also be done for the global actions like Delete, Rename etc.)
svn path=/trunk/KDE/kdebase/apps/; revision=798658
2008-04-18 19:43:16 +00:00
Laurent Montel 99686f7fe2 Commit patch from Alex
(He didn't have time to make it yesterday and will able to commit it next thursday)
This patch clean up some :
target_link_libraries(kfoo kdeinit_kfoo) which is already done in kde4_add_kdeinit_executable()
macro 	and use "INSTALL_TARGETS_DEFAULT_ARGS" in other place.
I tested all compile file, all works fine but if there is a pb send me a mail.

CCMAIL: neundorf@kde.org 

svn path=/trunk/KDE/kdebase/apps/; revision=795711
2008-04-11 06:52:03 +00:00
Peter Penz 9d4250e10a Provide tooltips. Per default tooltips are turned off because the information sidebar is turned on already.
Thanks a lot to Konstantin Heil and Fredrik Höglund for the code :-)

CCMAIL: konst.heil@stud.uni-heidelberg.de
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=795324
2008-04-09 20:12:43 +00:00
Ralf Habacker 91687fa984 added application icons
svn path=/trunk/KDE/kdebase/apps/; revision=793036
2008-04-02 21:32:47 +00:00
Jarosław Staniek 48f122fa6c fix exports and use dolphinprivatelib in the part
svn path=/trunk/KDE/kdebase/apps/; revision=789835
2008-03-25 12:06:18 +00:00
Peter Penz 6420d5f973 provide a config module for the settings GUI of the Dolphin views, so that it can be embedded into Konqueror
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789209
2008-03-23 15:54:07 +00:00
Sebastian Trueg d3a0432188 This is the first step towards a better looking and more usable metadata GUI.
- A nicer comment widget shows a popup to edit the comment.
- A tag cloud replaces the ugly tagwidget from libnepomuk.
The plan is to use Dolphin as a testbed to optimize the look and then 
move at least the tagcloud to libnepomuk to make it available for all apps
since this is a common feature.

So please test it and provide feedback. The layout is still cluttered. So we
also need feedback on that. And of course on the usability.

Apart from the GUI Dolphin now uses the mass metadata update job to perform
metadata updates on many files in an async KJob without blocking the GUI.
This is another candidate for public API at some point.

svn path=/trunk/KDE/kdebase/apps/; revision=788565
2008-03-21 21:05:05 +00:00
Peter Penz a8ada5e685 QListView does not support having a margin for grids. Originally it has been tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate.
Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate...

BUG: 155378
BUG: 155575
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=788095
2008-03-20 16:58:59 +00:00
Peter Penz 2b8772807f provide a cleaner layout for the information panel; there are still some open issues, but it looks already less cluttered...
svn path=/trunk/KDE/kdebase/apps/; revision=786080
2008-03-16 02:17:16 +00:00
Jeff Mitchell e8f247159e Don't try to show the terminal in dolphin when in Windows
svn path=/trunk/KDE/kdebase/apps/; revision=784126
2008-03-10 17:33:30 +00:00
Christian Ehrlicher 652194f729 LIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdebase/apps/; revision=776849
2008-02-18 21:51:54 +00:00
Peter Penz d38de66f4b Currently when the general font of KDE has been changed, the used fonts for the view in Dolphin have not been changed.
This has been fixed by differing between a "Use system font" setting (= default) or a "Use custom font" setting.

TODO: if the general font of KDE is changed during Dolphin is open, no update is done yet

CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=775487
2008-02-15 22:51:23 +00:00
David Faure 846b21edf5 Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.

svn path=/trunk/KDE/kdebase/apps/; revision=773572
2008-02-11 12:44:46 +00:00
David Faure 45a1074b0a Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-02-11 12:34:48 +00:00
Peter Penz 9a944644e9 allow dropping items above a place inside the Places panel
BUG: 154014

svn path=/trunk/KDE/kdebase/apps/; revision=768921
2008-01-30 22:22:46 +00:00
Peter Penz f6c7b90edf Blend in a toggle button when hovering items. This allows selecting items without using the rubberband or Ctrl/Shift-keys in the single-click mode. Any feedback from users is highly welcome (I think people will either love or hate this feature, I'm really not sure -> it can be turned off too).
svn path=/trunk/KDE/kdebase/apps/; revision=766901
2008-01-26 21:45:28 +00:00
Peter Penz f3c83ec89f Split the "General Settings" into "Startup Settings" and "General Settings" for having a cleaner layout. Still some fine tuning and code cleanups have to be done...
svn path=/trunk/KDE/kdebase/apps/; revision=764389
2008-01-21 16:51:31 +00:00
Rafael Fernández López f6984788a8 Move KCategorizedView to kdelibs. Use that one.
svn path=/trunk/KDE/kdebase/apps/; revision=760873
2008-01-13 15:44:04 +00:00
Peter Penz 87dc8352d4 Up to now DolphinView and ColumnWidget contained a lot of code duplication regarding generating previews and the dimming of cut items. This has been refactored by introducing an IconManager which takes care itself about generating a preview and dimming cut items. This also allows improving the speed of previews in (near) future (at the moment showing previews from the cache is a lot slower than in KDE 3...).
svn path=/trunk/KDE/kdebase/apps/; revision=759864
2008-01-11 11:37:28 +00:00
Pino Toscano c62e317ba5 dolphin can use soprano, but nowhere in apps we look for it; so search for Soprano manually
svn path=/trunk/KDE/kdebase/apps/; revision=757434
2008-01-04 22:59:55 +00:00
Jakob Petsovits eb8038e710 ARGH!
No, but really, we can't ship Dolphin with a missing
toolbar icon. And no, I have no clue why it won't use
that "pics" folder that I was generating for that icon.

Apologies?

svn path=/trunk/KDE/kdebase/apps/; revision=757082
2008-01-04 03:28:27 +00:00
Jakob Petsovits 8993bbe231 Icon theme minimality:
move actions/view-file-columns to Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=756073
2008-01-02 17:52:08 +00:00
Luboš Luňák f00ea7fd73 Soprano is optional.
svn path=/trunk/KDE/kdebase/apps/; revision=749607
2007-12-17 12:33:50 +00:00
Sebastian Trueg 737b74aa29 Use the same codebase for rating drawing as in KRatingWidget and playground/nepomuk.
For KDE 4.1 we will export this in kdelibs/nepomuk

CCMAIL: peter.penz@gmx.at
CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=748547
2007-12-14 19:23:02 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Sebastian Trueg 1329ae5ba3 Added Soprano include dir
svn path=/trunk/KDE/kdebase/apps/; revision=746869
2007-12-10 13:55:05 +00:00
Sebastian Trueg 929931b060 Use Xesam ontology instead of NIE. Since Strigi uses Xesam and we have no mapping yet this does make much more sense.
svn path=/trunk/KDE/kdebase/apps/; revision=746846
2007-12-10 12:34:56 +00:00
Allen Winter 04948c542a use the ${GENERIC_LIB_VERSION} and ${GENERIC_SOLIB_VERSION} macros to help keep
with library versioning consistency into the future.
ok'd by dfaure.

svn path=/trunk/KDE/kdebase/apps/; revision=745632
2007-12-06 16:55:50 +00:00
Peter Penz e46003aca3 Drag & drop fixes for all views: assure that a consistent pixmap for the drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet)
svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-11-20 21:11:48 +00:00
Patrick Spendrin 97b77c4272 Reverted changes made earlier today - and I added the workaround in the root file as described in kde-buildsystem - please tell me again if this should go somewhere else 3/3
svn path=/trunk/KDE/kdebase/apps/; revision=734475
2007-11-08 23:47:57 +00:00
Patrick Spendrin e401160eb8 changing install locations of dll's to bin
svn path=/trunk/KDE/kdebase/apps/; revision=734310
2007-11-08 15:19:33 +00:00
Peter Penz 496872dddc allow to configure the additional information of the view inside the viewproperties dialog
svn path=/trunk/KDE/kdebase/apps/; revision=731150
2007-10-30 20:52:03 +00:00
Peter Penz becc81123d remove Dolphin specific service menus, Konqueror and Dolphin use now the same service menus (thanks to David!)
svn path=/trunk/KDE/kdebase/apps/; revision=723418
2007-10-09 16:19:12 +00:00
Peter Penz 29402a79bc Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching

svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05 21:00:44 +00:00
Laurent Montel 684678bd37 ${CMAKE_SOURCE_DIR}/libkonq doesn't exist now
svn path=/trunk/KDE/kdebase/apps/; revision=721208
2007-10-04 19:56:47 +00:00
Matthew Woehlke 341c16eba6 use blitz instead of deprecated kdefx, remove kdefx headers where unused
svn path=/trunk/KDE/kdebase/apps/; revision=717537
2007-09-27 04:11:28 +00:00
Urs Wolfer 3c20dcd163 Dolphin is now QT3_SUPPORT free
svn path=/trunk/KDE/kdebase/apps/; revision=714564
2007-09-19 21:57:01 +00:00
Rafael Fernández López c8072005fa Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.

The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
Peter Penz 6bbd349a9c use system-file-manager icon instead of custom Dolphin icon
svn path=/trunk/KDE/kdebase/apps/; revision=704545
2007-08-25 10:24:30 +00:00
Nick Shaforostoff b607d3cc4b ok, second try: make use of KDirSortFilterProxyModel. 'Show in Groups' still works, haven't tested nepomuk part though.
NOTE to dolphin devs: please, consider using 'left.column()' instead of 'sortRole()' in lessThan methods, and 'sorting()' instead of 'sortRole()' in other places.
Didn't make switch by myself because it needs nepomk testing (shouldn't be too hard though).


svn path=/trunk/KDE/kdebase/apps/; revision=692517
2007-07-25 19:08:12 +00:00
Laurent Montel 117899b07c change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdebase/apps/; revision=691218
2007-07-23 07:01:14 +00:00
Nick Shaforostoff 4c96ec2698 ok, reverting as requested by Peter Penz.
svn path=/trunk/KDE/kdebase/apps/; revision=690417
2007-07-21 00:31:26 +00:00
Nick Shaforostoff 88705d0c34 Make use of the newly added KDirSortFilterProxyModel class -- that is, essentially, remove all the code being duplicated :)
Make manpart use KEncodingDetector capabilities along the way (it was <meta ... charset="System"> before)


svn path=/trunk/KDE/kdebase/apps/; revision=690382
2007-07-20 21:16:50 +00:00
Allen Winter 62d81f9a9b remove kde4_automoc()
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-07-10 09:14:12 +00:00
Rafael Fernández López 23b91d0c36 Rename KListView to KCategorizedView as decided
svn path=/trunk/KDE/kdebase/apps/; revision=685767
2007-07-09 18:08:20 +00:00
Rafael Fernández López 98d01c5e23 Make KListView capable of drawing categories on our own way. This make things easier
when we are trying to customize it. We can also benefit from KStyle if some day it 
supports category drawing.

KListView keyboard navigation. Tricier than I thought.

Pending renaming to KCategorizedView. Seems a good name.

svn path=/trunk/KDE/kdebase/apps/; revision=684478
2007-07-06 17:41:04 +00:00
Laurent Montel 67563a41a1 Remove not necessary cmake variable
svn path=/trunk/KDE/kdebase/apps/; revision=683756
2007-07-05 09:02:54 +00:00
Laurent Montel 398005a991 Remove not necessary variable already
add by other kde cmake variable

svn path=/trunk/KDE/kdebase/apps/; revision=682363
2007-07-02 14:04:12 +00:00
Laurent Montel b5ada3a879 not necessary to duplicate it
svn path=/trunk/KDE/kdebase/apps/; revision=682359
2007-07-02 13:49:52 +00:00
David Faure ab3d8b1003 Here comes dolphinpart, to use dolphin as the file management view in konqueror.
Embeds nicely, now all the integration needs to be done.
Thanks to Peter for the nice DolphinView/DolphinViewContainer separation which made writing the part very very easy!

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=682079
2007-07-01 14:25:21 +00:00
Peter Penz 4062c4cf2d Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Rafael Fernández López 11f0a8c503 New and powerful KListView. Still pending class renaming. There are two
methods that I need to think about it, and boost. Small issues like 
reloading all data when sorting role suddenly changes. In general terms 
it will work nice when you sort by name or size. We have to work further 
when we sort by other roles. Nice times.

svn path=/trunk/KDE/kdebase/apps/; revision=676732
2007-06-17 15:32:31 +00:00
Sebastian Trueg b2547cf9a4 Adapt Dolphin Nepomuk support to namespace changes.
svn path=/trunk/KDE/kdebase/apps/; revision=674158
2007-06-11 21:46:04 +00:00
Peter Penz be9746e87b First big step to make it possible that the DolphinView can be embedded as KPart into Konqueror (discussed with David Faure). A lot of refactoring of the DolphinView has been done:
- The DolphinView does not contain the URL navigator, the filterbar and the statusbar anymore. Those widgets have been moved to DolphinViewContainer.
- The DolphinView does not contain any reference to the main window anymore.

Currently there are some minor regressions (the statusbar shows less informations, renaming has been deactivated), but they will get fixed during the next days. Also still a lot of interface cleanups must be done, but let's just do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=672692
2007-06-07 21:10:48 +00:00
David Faure 3aa47b789b Make the test link (moving renamedialog to libdolphinprivate since we'll need that feature in the part anyway)
svn path=/trunk/KDE/kdebase/apps/; revision=666229
2007-05-19 08:03:39 +00:00
Peter Penz 15b965af3a David Faure wrote:
> Sounds like the kind of method that would benefit greatly from a unit test :)

OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt)

svn path=/trunk/KDE/kdebase/apps/; revision=666162
2007-05-18 23:36:58 +00:00
David Faure 6ea851f030 Don't rely on konsole sources.
If compilation fails, update and install kdelibs/interfaces/terminal

svn path=/trunk/KDE/kdebase/apps/; revision=662060
2007-05-07 12:01:37 +00:00
Laurent Montel a4713e9ea4 Adapt to new konsole api
svn path=/trunk/KDE/kdebase/apps/; revision=661990
2007-05-07 07:27:26 +00:00
Peter Penz 35ee348c45 Initial step for showing the terminal embedded inside Dolphin instead of opening a separate window. This allows to synchronize the current directory of the terminal with the shown directory in Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=661890
2007-05-06 21:50:24 +00:00
David Faure 919071ae88 If it's not always compiled, then we need to check it before we add it to the link line...
svn path=/trunk/KDE/kdebase/apps/; revision=660323
2007-05-02 10:02:19 +00:00
David Faure 5aa8b5ca97 Oh. It's in kdelibs, but it's not always compiled. Revert.
(and moved checks to the right place)

svn path=/trunk/KDE/kdebase/apps/; revision=660320
2007-05-02 10:00:16 +00:00
David Faure 3cf6c8590f kmetadata is in kdelibs now
svn path=/trunk/KDE/kdebase/apps/; revision=660318
2007-05-02 09:52:26 +00:00
Sebastian Trueg f867a1a3a7 * Added KMetaData cmake check
* Fixed Dolphin+KMetaData compilation
* Moved knepomuk tests into kdebase

svn path=/trunk/KDE/kdebase/apps/; revision=660109
2007-05-01 15:18:07 +00:00
Pino Toscano 28a08b940c headers of a private library should not be installed
svn path=/trunk/KDE/kdebase/apps/; revision=656882
2007-04-22 16:01:07 +00:00
Peter Penz 5b5a7b8da8 Added Rafael López's item categorizer into Dolphin (it's currently deactivated in dolphiniconsview.cpp until it's in shape for the public).
svn path=/trunk/KDE/kdebase/apps/; revision=652156
2007-04-10 08:46:21 +00:00
Kevin Ottens 30161a7b3f Dolphin is now KBookmark* free.
svn path=/trunk/KDE/kdebase/apps/; revision=651766
2007-04-09 09:16:39 +00:00
Pino Toscano 52c3d5a222 move the QT3_SUPPORT definition only where it's needed
svn path=/trunk/KDE/kdebase/apps/; revision=650430
2007-04-04 14:47:36 +00:00
Kevin Ottens b94f306f56 Places and url navigator are now provided by kfile. Port Dolphin to this
change.

svn path=/trunk/KDE/kdebase/apps/; revision=649541
2007-04-02 20:08:14 +00:00
Kevin Ottens 03713b0ab4 Rename all the URL navigator related classes to prepare their migration
in kdelibs.

svn path=/trunk/KDE/kdebase/apps/; revision=649514
2007-04-02 19:20:07 +00:00
Kevin Ottens c6d0d2b92d Introduce KFilePlacesView which is a list view adding the navigation
logic. Suitable to interface it in Dolphin or the KFileDialog.


svn path=/trunk/KDE/kdebase/apps/; revision=649204
2007-04-02 08:51:57 +00:00
Kevin Ottens 056ac9a271 Add the KFilePlacesModel class. It allows to list user's "places" (a mix
of bookmarks and volume devices). Still incomplete, for now it simply 
list the places (drag and drop, and more interaction needs to be 
implemented). It's supposed to move into kdelibs/kio soon.

svn path=/trunk/KDE/kdebase/apps/; revision=649038
2007-04-01 22:28:03 +00:00
Peter Penz f57f351cce integrate column view into settings
svn path=/trunk/KDE/kdebase/apps/; revision=648926
2007-04-01 17:57:53 +00:00
Peter Penz fd060ce7f6 Initial version for a column view support (thanks a lot to Benjamin Meyer for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary...
svn path=/trunk/KDE/kdebase/apps/; revision=647234
2007-03-27 19:08:44 +00:00
Peter Penz 8f9baef848 Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Laurent Montel 84ea1693da Create shared lib as discussed with David and Peter
It will used to create kparts which will use theses class

svn path=/trunk/KDE/kdebase/apps/; revision=645768
2007-03-23 15:32:28 +00:00
Sebastian Trueg 4af3a2dcb4 Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging.
This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet.

svn path=/trunk/KDE/kdebase/apps/; revision=644510
2007-03-20 09:01:22 +00:00
Peter Penz 57e6749927 assure that the iconsview settings-dialog fits on a 800 x 600 screen
svn path=/trunk/KDE/kdebase/apps/; revision=641493
2007-03-11 14:41:09 +00:00
Peter Penz b5cc2a6924 Create a SidebarTreeView which will include support for drag & drop in later releases and encapsulates sidebar specific behavior. TODO: using a sort proxy model results in duplicated elements when the dir lister reloads items.
svn path=/trunk/KDE/kdebase/apps/; revision=641359
2007-03-11 00:56:43 +00:00
Peter Penz fe8b349bce It seems some people cannot live without a tree view ;-) So Dolphin will provide a dock which contains the directory hierarchy, which will be synchronized with the active view. It does not clutter the UI (the dock can be turned off), but makes happy a lot of users -> kind of win-win-situation. This commit provides only a rough initial version, which shows the current URL as tree. I'll work on the interaction during the next week(s)...
svn path=/trunk/KDE/kdebase/apps/; revision=638628
2007-03-02 18:59:09 +00:00
Oscar Blumberg 9c8e7f4e43 Add libkmetadata detection and minor fixes
SVN_SILENT

svn path=/trunk/KDE/kdebase/apps/; revision=636328
2007-02-22 20:15:20 +00:00
Aaron J. Seigo 571e40b057 make nepomuk support optional, mostly through a bunch of non-existent ifdef's =)
svn path=/trunk/KDE/kdebase/apps/; revision=636289
2007-02-22 18:49:26 +00:00
Oscar Blumberg cefcbf0ef0 * Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
* Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout)
* Support infos for multiple files (only total size, what else ?)

svn path=/trunk/KDE/kdebase/apps/; revision=636272
2007-02-22 16:45:53 +00:00
Stephan Kulow 20195315bb installing a file called generalsettings.kcfgc just asks
for trouble - always prefix installed files 

svn path=/trunk/KDE/kdebase/apps/; revision=635877
2007-02-21 09:31:52 +00:00
Peter Penz abf17941f7 Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submitted this patch.
svn path=/trunk/KDE/kdebase/apps/; revision=634862
2007-02-18 17:01:36 +00:00
Peter Penz c91365ab8d Step one for having DolphinParts for the icons and details view, which can be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok.
svn path=/trunk/KDE/kdebase/apps/; revision=633703
2007-02-14 21:54:24 +00:00
David Faure 8134fd34d5 get libkonq from kdebase
svn path=/trunk/KDE/kdebase/apps/; revision=633693
2007-02-14 21:17:05 +00:00
Peter Penz 5840fcede7 Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
svn path=/trunk/playground/utils/dolphin/; revision=627220
2007-01-26 00:55:49 +00:00
Peter Penz 07e07fd522 Removed helper class ProgressIndicator (not needed anymore because of the use of KonqUndoManager).
svn path=/trunk/playground/utils/dolphin/; revision=625608
2007-01-20 15:03:14 +00:00
Peter Penz 76866f783c Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations.
svn path=/trunk/playground/utils/dolphin/; revision=624760
2007-01-18 06:32:21 +00:00
Peter Penz 642110309a Let the user chose whether view properties should be remembered for each directory or whether they should be valid globally. Per default the view properties are remembered for each directory. For testing purposes the MIME type information is shown per default in the icons mode (thanks to Fredrik for the cool implementation in KFileItemDelegate!).
svn path=/trunk/playground/utils/dolphin/; revision=615232
2006-12-20 19:10:39 +00:00
Peter Penz 8b240249db Use KonqMimeData for the cut- and copy-operation instead of using bool property inside DolphinMainWindow. This assures that cut- and copy-operations also work within multiple Dolphin main windows.
svn path=/trunk/playground/utils/dolphin/; revision=614351
2006-12-17 13:47:45 +00:00
Peter Penz 1547891be2 Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this hint!). TODO: the implementation does not work yet, as QSortFilerProxyModel::lessThan() is not invoked; I'm too tired currently for finding the root of this ;-)
svn path=/trunk/playground/utils/dolphin/; revision=613747
2006-12-14 23:49:30 +00:00
Peter Penz 163fa7ce30 Instead of having a the 3 view modes "icons", "details" and "previews" only 2 view modes are used now: "icons" and "details". Whether a preview is shown or not is part of the directory view properties. This also means that it will be possible to show previews in the "details" view in future releases.
svn path=/trunk/playground/utils/dolphin/; revision=613029
2006-12-13 07:41:11 +00:00
Peter Penz ced7cbd022 Use a KIO Job for applying the view properties recursively to sub directories.
svn path=/trunk/playground/utils/dolphin/; revision=611325
2006-12-07 17:22:51 +00:00
Peter Penz 8c7e12b1f7 Applying view properties recursively to sub directories works again (TODO: rewrite ViewPropsApplier completely as KJob implementation).
svn path=/trunk/playground/utils/dolphin/; revision=610887
2006-12-05 22:48:35 +00:00
Kevin Ottens b1d5b6b746 Get ride of the sidebar and use dockwidgets instead.
Default is now three panes, but the dockwidgets can be stacked, etc. to 
the user convenience.

There's a slight loss in feature since I disabled dockwidgets hiding, 
it's simply because some rework is still needed in kdelibs and Qt to 
make them work correctly.


svn path=/trunk/playground/utils/dolphin/; revision=609186
2006-11-29 18:09:26 +00:00
Holger Freyther f31a541925 Make it (almost) possible to have more than one Dolphin KMainWindow
Create a DolphinApplication, holding DolphinMainWindows and update
    the code to use the DolphinView to get the MainWindow, or get a ptr
    to the MainWindow directly. Or if all windows are effected go through
    the DolphinApplication to update every mainwindow.
    The UndowManager and ProgressIndicator have a rather strange relationship
    and will need some more attention but as UndoManager will be killed
    anyway I have skipped this.
    More cleanup, debugging and thinking is needed.

svn path=/trunk/playground/utils/dolphin/; revision=608945
2006-11-29 00:02:19 +00:00
Peter Penz 0e3d1576d5 Initial step for moving to KDirModel. Large code parts have been deleted, as a step by step migration makes no sense. Check KDE3 version of Dolphin as reference how things have been done before.
svn path=/trunk/playground/utils/dolphin/; revision=607513
2006-11-24 22:10:33 +00:00
Laurent Montel 9d26e139f8 Clean up
Add Message.sh to generate translation

svn path=/trunk/playground/utils/dolphin/; revision=607130
2006-11-23 09:54:10 +00:00
Laurent Montel c94162b9bf Not necessary
svn path=/trunk/playground/utils/dolphin/; revision=606878
2006-11-22 07:54:13 +00:00
Peter Penz 5252c12db4 commited initial version of Dolphin
svn path=/trunk/playground/utils/dolphin/; revision=606622
2006-11-21 06:02:05 +00:00