Commit graph

2744 commits

Author SHA1 Message Date
André Wöbbeking 4ab20ea043 -pedantic
svn path=/trunk/KDE/kdebase/apps/; revision=1104133
2010-03-16 20:15:48 +00:00
Luboš Luňák 4bb1ba9217 welcome to the world of kdeinit applications
svn path=/trunk/KDE/kdebase/apps/; revision=1103978
2010-03-16 12:30:46 +00:00
Rafael Fernández López 7eeb8dba6a Get back names, and use "using" keyword to keep GCC silent on "method foo on base class hidden y method foo on derived class". Thanks to André for pointing out this trick.
CCMAIL: Woebbeking@kde.org
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=1103527
2010-03-15 10:08:32 +00:00
Sebastian Trueg fa24cc8e11 Stat URLs before opening them to make sure they are actually dirs we can list. Otherwise use KRun.
svn path=/trunk/KDE/kdebase/apps/; revision=1103520
2010-03-15 09:55:51 +00:00
Rafael Fernández López a80da4153a Remove all warnings on compile time
svn path=/trunk/KDE/kdebase/apps/; revision=1103376
2010-03-14 22:57:42 +00:00
Rafael Fernández López c55ac46003 Adapt DolphinCategoryDrawer to new changes on kdelibs :)
svn path=/trunk/KDE/kdebase/apps/; revision=1103215
2010-03-14 16:31:16 +00:00
Peter Penz f2885d1ac2 Fix issue that the current terminal line does not get cleared before sending a cd command.
The terminal interface does not provide an API for this, so as workaround backspaces are send. Not nice, but as the issue can lead to data loss, this solution is better than having nothing.

BUG: 161637

svn path=/trunk/KDE/kdebase/apps/; revision=1103207
2010-03-14 16:21:35 +00:00
Peter Penz ea3eb39160 Fix compilation on OpenSolaris with Sun Studio
Thanks to Tropikhajma for the patch!

BUG: 230251

svn path=/trunk/KDE/kdebase/apps/; revision=1103145
2010-03-14 13:18:09 +00:00
Peter Penz fbc221c4ff Fix compile issue if HAVE_NEPOMUK is not defined
svn path=/trunk/KDE/kdebase/apps/; revision=1102862
2010-03-13 20:34:43 +00:00
Peter Penz 5c80286726 Meta data configuration dialog improvements
* use the data provided by the model instead reading it again
* allow to enable/disable also custom meta data 

svn path=/trunk/KDE/kdebase/apps/; revision=1102852
2010-03-13 20:05:21 +00:00
Peter Penz 7b8a3ae800 Let the custom widgets stay invisible per default after constructing them. This prevent a possible flickering when starting Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1102837
2010-03-13 19:17:38 +00:00
Peter Penz 5f54238912 Allow to provide custom widgets for meta data in a generic way.
By this it is possible that other applications like e. g. Gwenview provide custom widgets to change EXIF data directly within the meta data widget.

svn path=/trunk/KDE/kdebase/apps/; revision=1102834
2010-03-13 19:07:40 +00:00
Peter Penz 6b9c4f7b45 Allow to specify a group for a meta data item.
The sorting of the meta data items is now done by the group. Within the group the sorting is done by their translated labels.

svn path=/trunk/KDE/kdebase/apps/; revision=1102778
2010-03-13 15:32:48 +00:00
Peter Penz 54a1499586 Provide a KMetaDataModel for KMetaDataWidget.
This allows to extend the model with custom meta data (might e. g. be useful for Gwenview).

svn path=/trunk/KDE/kdebase/apps/; revision=1102749
2010-03-13 13:38:40 +00:00
Script Kiddy a7f4541eb8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1101859
2010-03-11 06:51:07 +00:00
Andrew Coles 2f16883fe7 Proof-reading: file name -> filename, for consistency.
svn path=/trunk/KDE/kdebase/apps/; revision=1101351
2010-03-09 23:16:23 +00:00
Peter Penz 14b3d7010e Port patch 1098976 for Konqueror by David Faure to Dolphin: When the user clicks on a Type=Link desktop files that point to a directory, let's open that
directory in the current view, rather than starting a new Konqueror.
As requested by LukasLT for http://forum.kde.org/viewtopic.php?f=14&t=66660

svn path=/trunk/KDE/kdebase/apps/; revision=1101071
2010-03-09 07:13:51 +00:00
Script Kiddy 13f393f42d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1099845
2010-03-06 06:54:11 +00:00
Peter Penz c73266cb59 fix link issue if Nepomuk is not installed
svn path=/trunk/KDE/kdebase/apps/; revision=1099444
2010-03-05 15:38:08 +00:00
Peter Penz 2b286a9f04 Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first).
KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo.

svn path=/trunk/KDE/kdebase/apps/; revision=1098897
2010-03-04 16:24:20 +00:00
Peter Penz a0b010bb00 Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1097289
2010-02-28 21:03:58 +00:00
Peter Penz 072dacbb55 Fix possible memory leak when invoking KLoadMetaDataThread::cancelAndDelete().
svn path=/trunk/KDE/kdebase/apps/; revision=1097154
2010-02-28 15:01:33 +00:00
Peter Penz 77d9413d07 Meta data configuration cleanups:
- Use RDF labels internally.
- Provide better default settings, which meta data are hidden.
- Allow to configure which meta data is shown also if Nepomuk is turned off.

svn path=/trunk/KDE/kdebase/apps/; revision=1096571
2010-02-26 22:03:32 +00:00
Peter Penz 65106c3037 use NFO URI to check whether the width and height should be merged as one label
svn path=/trunk/KDE/kdebase/apps/; revision=1096542
2010-02-26 20:08:09 +00:00
Peter Penz 6479605c84 remove duplicate entries
svn path=/trunk/KDE/kdebase/apps/; revision=1096541
2010-02-26 20:07:26 +00:00
Peter Penz 4e370297de Show meta information also for files, which are not indexed (or in the case if Nepomuk is turned off).
Beside the new translations the fix is based on several other fixes in kdelibs + strigi and cannot be backported to KDE SC 4.4.x.

As soon as the meta data widget has been moved to kdelibs, this meta data information will also be available in the properties dialog.

BUG: 193592

svn path=/trunk/KDE/kdebase/apps/; revision=1096472
2010-02-26 18:03:13 +00:00
Peter Penz 5dee68a061 The number of fixed meta-info items may vary dependent on whether Nepomuk is enabled or not. Avoid the nasty hack to hardcode the value within the slotLoadingFinished() method.
BUG: 228540

svn path=/trunk/KDE/kdebase/apps/; revision=1096347
2010-02-26 14:42:47 +00:00
Peter Penz 08f93a673d Request the activation of the view, even if the column is marked as active already: The activation state of a column is independent from from the activation state of the view.
This fixes the regression that items for inactive views containing columns get triggered.

BUG: 227472

svn path=/trunk/KDE/kdebase/apps/; revision=1096114
2010-02-25 20:54:02 +00:00
Peter Penz df6bc98ded Forward port of SVN commit 1096089: Fix regression that columns stay empty when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis.
CCBUG: 227785
CCBUG: 227748

svn path=/trunk/KDE/kdebase/apps/; revision=1096093
2010-02-25 19:36:36 +00:00
Peter Penz e488496286 Also show meta informations of files, if Nepomuk is not running or if the file is not indexed.
Still a lot of cleanups are required (e. g. the labels are not human readable currently).

svn path=/trunk/KDE/kdebase/apps/; revision=1096092
2010-02-25 19:34:58 +00:00
Sebastian Trueg 3beca2e7f1 * No need to reload all tags when one is deleted.
* Use Resource::genericLabel() always for consistency.

svn path=/trunk/KDE/kdebase/apps/; revision=1096036
2010-02-25 15:41:27 +00:00
Frank Reininghaus af46cf7666 Remove all code that is related to DolphinController's
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-23 20:34:33 +00:00
Peter Penz e6ba74c5ae ups: I forgot to set the and-term for the file query in the last commit
CCMAIL: post@oliver-heidbuechel.de


svn path=/trunk/KDE/kdebase/apps/; revision=1095055
2010-02-23 15:46:43 +00:00
Peter Penz 661c0ae4d3 Use Nepomuk::Query::Query for global search queries, as it does not only return files but also other meta information.
Thanks to Oliver Heidbüchel for the patch!

CCMAIL: post@oliver-heidbuechel.de

svn path=/trunk/KDE/kdebase/apps/; revision=1095051
2010-02-23 15:36:37 +00:00
Peter Penz 0c71d25a6f Allow to drop files above a tab. Thanks to Todd for the patch.
svn path=/trunk/KDE/kdebase/apps/; revision=1094746
2010-02-23 07:26:02 +00:00
Frank Reininghaus a9702ad0cc Use the full width of the "Name" column of the Details View for
renaming items inline.

BUG: 226666

svn path=/trunk/KDE/kdebase/apps/; revision=1094416
2010-02-22 18:22:12 +00:00
Peter Penz 642062284c Forward port of SVN commit 1093803: Assure that the changed selection model is reconnected when changing columns. This fixes the regression that some operations have been disabled on sub columns. Thanks to Frank Reininghaus for the analyses.
CCBUG: 226749

svn path=/trunk/KDE/kdebase/apps/; revision=1093807
2010-02-21 13:29:32 +00:00
Luboš Luňák a2f0d69558 replace X11-specific code with generic
svn path=/trunk/KDE/kdebase/apps/; revision=1093243
2010-02-20 11:52:46 +00:00
Sebastian Trueg 52e1503052 Implemented search restriction to filenames.
svn path=/trunk/KDE/kdebase/apps/; revision=1091902
2010-02-17 21:01:29 +00:00
Frank Reininghaus c7515e9e90 Make sure that DolphinView's m_expanderActive member is handled
correctly, and emit DolphinDetailsViewExpander's completed() signal
only if the folder loading is really finished. This fixes possible
problems when restoring the current item and scroll position of the
view if these require a preceding folder expansion.

svn path=/trunk/KDE/kdebase/apps/; revision=1090926
2010-02-16 11:12:00 +00:00
Script Kiddy 323db2c9b5 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=1089061
2010-02-12 10:55:37 +00:00
David Faure 0837da2d42 Separate the parent object (for the knewfilemenu instance) and the parent widget
(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-02-08 14:27:58 +00:00
Script Kiddy 29bff3b1f0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1085566
2010-02-05 13:31:20 +00:00
Peter Penz 5fff84e068 Be more clear that selecting the checkbox means, that the shown view properties should be used as default (that only "new folders" are affected, is incorrect).
BUG: 213354

svn path=/trunk/KDE/kdebase/apps/; revision=1085564
2010-02-05 13:30:08 +00:00
Peter Penz a3ae439be6 Fixed regression that has been introduced by the --select option: don't create 2 Dolphin windows instead of one when restoring a session.
BUG: 223831

svn path=/trunk/KDE/kdebase/apps/; revision=1085555
2010-02-05 13:17:31 +00:00
Christoph Feck 28e6a719d8 Fix height calculation of "Additional Information" label
CCBUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1084630
2010-02-03 10:58:05 +00:00
Christoph Feck 7a0cbf2573 Respect floating point font sizes
BUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1084629
2010-02-03 10:55:13 +00:00
Peter Penz 4b1277f078 removed clearSelection() code, it is not needed anymore with Qt 4.6 and done automatically internally
svn path=/trunk/KDE/kdebase/apps/; revision=1082869
2010-01-31 12:26:50 +00:00
Sebastian Trueg 5e079195bc Another fix for the metadata rows: properly clean up unused rows in case no metadata is added.
svn path=/trunk/KDE/kdebase/apps/; revision=1081502
2010-01-28 14:09:22 +00:00
David Faure c3584e3101 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
2010-01-27 23:55:55 +00:00