Commit graph

4868 commits

Author SHA1 Message Date
Montel Laurent 7d41ad943a clean forward declaration 2014-10-11 14:18:23 +02:00
Montel Laurent 6f6b1bbb69 Clean includes + port to QMenu 2014-10-10 23:36:36 +02:00
l10n daemon script a696093fa2 SVN_SILENT made messages (after extraction) 2014-10-09 05:14:24 +00:00
l10n daemon script 6993025dc3 SVN_SILENT made messages (after extraction) 2014-10-09 01:31:06 +00:00
Hrvoje Senjan 64bc639395 Revert "Fix desktop file"
This reverts commit ecd2ca2222f88c9aea1c23a57658a8a4e9ff54f9.

Dolphin still uses KApp/KCmdLineArgs, so qwindowtitle is not recognized
2014-10-08 12:51:30 +02:00
Marko Käning f0760df29c Fix includes erroneously having slipped into baloo-only sections
CCMAIL: bhush94@gmail.com
2014-10-08 09:54:58 +02:00
Montel Laurent 6ff385e71a Fix desktop file 2014-10-08 08:12:46 +02:00
Montel Laurent 5c1420fec9 kdelibs4support-- 2014-10-07 07:38:16 +02:00
Montel Laurent a705337fab Convert to reverse dns 2014-10-07 07:32:35 +02:00
Emmanuel Pescosta 6a09781a3b Ported Dolphin away from KStandardDirs
removed unused mirroredDirectory method

REVIEW: 120194
2014-10-01 12:34:49 +02:00
Volker Krause 1d590aa7d5 Make constants const, avoids unnecessary symbols in the .data section. 2014-09-26 20:38:57 +02:00
David Faure d47557dcd1 Port away from KonqOperations::renameV2.
Tested. The if before the connect looks suspicious to me, though.
2014-09-22 22:37:44 +02:00
David Faure 4425c659a0 Port away from KonqOperations::rename
It's a bit more code, but this way if you want e.g. custom error handling
you know what to change :)
2014-09-22 22:37:44 +02:00
David Faure 76ce61a05f Port away from KonqOperations::rename 2014-09-22 22:37:44 +02:00
Luca Beltrame 2744fb4a0b Merge branch 'master' into frameworks 2014-09-21 14:36:15 +02:00
Luca Beltrame 4479a546bd Merge branch 'KDE/4.14' 2014-09-21 14:36:02 +02:00
Arjun AK 398162a1be Do not allow files or folders inside trash to be added to dolphin's places panel
REVIEW: 120286
BUG: 339204
FIXED-IN: 4.14.2
2014-09-21 17:16:19 +05:30
Emmanuel Pescosta ab3ea08625 * Fixed wrong signal-slot connection between KUrlNavigator and DolphinMainWindow
* Use the new syntax to connect to DolphinMainWindow::openNewTab from the url
navigator and from folders panel (removed the unused optional parameters from
openNewTab and openNewActivatedTab)
2014-09-15 18:17:30 +02:00
Christoph Cullmann 88e3cdcbc0 simple setShortcuts => setDefaultShortcuts porting, done 2014-09-14 22:52:01 +02:00
Christoph Cullmann e02e55fd71 simple setShortcuts => setDefaultShortcuts porting 2014-09-14 22:49:25 +02:00
Christoph Cullmann 65fa99fea6 simple setShortcuts => setDefaultShortcuts porting 2014-09-14 22:46:26 +02:00
Christoph Cullmann 81f7a1aa80 simple setShortcuts => setDefaultShortcuts porting 2014-09-14 22:45:10 +02:00
Mathias Tillman d380d27f47 Make the statusbar space info use the new KIO::fileSystemFreeSpace job.
REVIEW: 120137
BUG: 245226
2014-09-14 18:53:05 +02:00
Emmanuel Pescosta 4de8cf43e6 Ported KIcon to QIcon
REVIEW: 120159
2014-09-12 13:15:54 +02:00
Emmanuel Pescosta b111b1482a fixed TODO:
Qt5: Replace Qt::XButton1 by Qt::BackButton and Qt::XButton2 by Qt::ForwardButton
2014-09-11 14:51:06 +02:00
Emmanuel Pescosta 32b51b7b92 Merge branch 'master' into frameworks 2014-09-11 10:50:56 +02:00
Emmanuel Pescosta 4a774cb250 Merge branch 'KDE/4.14' 2014-09-11 10:49:58 +02:00
Denis Steckelmacher 087f4cb808 Fix an #ifdef that referred to Nepomuk instead of Baloo
The query builder widget is now properly disabled when the user wants to look
for files by filename and not by content.
2014-09-10 13:04:45 +02:00
Denis Steckelmacher e3578ee3b7 Use the Baloo Query Builder widget to add syntax-highlighting in Dolphin search
REVIEW: 112589
2014-09-10 10:16:11 +02:00
Luca Beltrame 39cfd051ef Merge branch 'master' into frameworks 2014-09-10 10:08:20 +02:00
Emmanuel Pescosta c19c4590cf Set the focus to the active view if the current tab has been changed.
BUG: 338892
FIXED-IN: 4.15.0
REVIEW: 120125
2014-09-10 09:41:17 +02:00
Kai Uwe Broulik 42153e55e6 Add "Open Path" context menu action
This adds a third option to the "in new tab" and "in new window" which opens
the parent folder in the same view

BUG: 298704
FIXED-IN: 4.15
REVIEW: 110133
2014-09-09 15:31:55 +02:00
David Faure dacded2afd extract method renameItem, factorizes the common code 2014-09-04 17:52:12 +02:00
kdeuser 56 c98e014d2a Rename "Recently Accessed" to "Recently Saved"
In dolphin the Section that leads you to timeline claims
to show "Recently Accessed", which is not true, it shows
"Recently Saved" instead.

BUG: 304854
REVIEW: 119986
2014-09-02 21:37:41 +02:00
Frank Reininghaus 47bd204804 Make it possible to open archives via the command line
This used to work before afcf8961f6 (only
if "Open archives as folder" was enabled in the settings though). The
reason why this commit broke it is that the mime type of a file is not
determined automatically any more before asking
KProtocolManager::protocolForArchiveMimetype for the correct protocol,
so the determination of the protocol may fail.

Keeping the isMimeTypeKnown() check in DolphinView::openItemAsFolderUrl
still makes sense, because it prevents GUI blocking if the user tries
to open many files at the same time.

Therefore, we now call determineMimeType() in
DolphinViewContainer::slotUrlIsFileError(const KUrl&) and then try to
determine the correct protocol and use it to open the archive in the
view, rather than hoping that slotItemActivated(item) will do the right
thing.

BUG: 333078
REVIEW: 119877
FIXED-IN: 4.14.1
2014-09-01 00:06:18 +02:00
Emmanuel Pescosta 773028f270 Merge branch 'KDE/4.14'
Conflicts:
	dolphin/src/dolphinmainwindow.cpp
2014-08-31 17:09:29 +02:00
Emmanuel Pescosta dc378935d3 Only keep the active view container connected with the main window, all inactive
view containers are disconnected. Changing the connections is done whenever the
active view has been changed, so we can always guarantee that the active view is
connected.

The problem with restoring saved sessions is, that we create a new view container
in DolphinTabPage::restoreState() when split view was used in the previous session,
but this view container isn't connected to the main window slots because
DolphinMainWindow::connectViewSignals() is not called for this container. This leads
to these strange problems: no context menu, ...

BUG: 338549
REVIEW: 119961
FIXED-IN: 4.14.1
2014-08-31 17:00:10 +02:00
David Faure b258dcbbe9 cleanups 2014-08-24 15:43:32 +02:00
David Faure 3d89079aa4 use non-deprecated cmake var name 2014-08-24 15:40:50 +02:00
l10n daemon script f27250bf27 SVN_SILENT made messages (after extraction) 2014-08-24 01:43:17 +00:00
Emmanuel Pescosta d4fb129710 Merge branch 'master' into frameworks
Conflicts:
	dolphin/src/dolphinmainwindow.cpp
	dolphin/src/dolphinmainwindow.h
	dolphin/src/dolphinrecenttabsmenu.cpp
	dolphin/src/dolphinviewcontainer.cpp
	kfind/CMakeLists.txt
2014-08-22 23:17:02 +02:00
Emmanuel Pescosta 7b0c9bbc58 Merge branch 'KDE/4.14' 2014-08-22 22:44:53 +02:00
Arjun AK 4290827540 Hide an already visible KMessageWidget message before showing a new one
1. Do some operation that causes the KMessageWidget to show an error message
2. Immediately Repeat the same action.

The user has no way to know whether the error message is from the second operation or
is a leftover from the first one. By hiding the widget first and then showing it using
animatedShow(), the user can clearly see that a new message was generated. Also once the
directory successfully loads, the widget should be hidden.

BUG: 323077
FIXED-IN: 4.14.1
REVIEW: 119401
2014-08-22 18:42:50 +05:30
David Faure ee946d362c Port away from KonqOperations::askDeleteConfirmation and KonqOperations::del
and remove them. Porting docs added to https://community.kde.org/Frameworks/Porting_Notes#libkonq
2014-08-22 10:16:48 +02:00
David Faure e44ddfa5ab Remove KonqOperations::emptyTrash() and port to KIO::emptyTrash() instead. 2014-08-21 22:01:23 +02:00
Emmanuel Pescosta 2d2d55f3df Save the view states in addition to the view urls and splitter state in DolphinTabPage.
Also added version numbers to view and tab state.

REVIEW: 119792
2014-08-20 23:06:39 +02:00
David Faure 5a6ac1b5f7 Port from KonqOperations::restoreTrashedItems to KIO::restoreFromTrash. 2014-08-19 22:31:50 +02:00
Emmanuel Pescosta 4b758c386f Merge branch 'KDE/4.14'
Conflicts:
	dolphin/src/dolphin.appdata.xml
2014-08-14 18:28:51 +02:00
Mathieu Tarral b73aeb4598 Fixes display issues of Dolphin statusbar widgets when a high DPI value is used (>= 196 for example).
BUG: 334271
REVIEW: 119701
FIXED-IN: 4.14.1
2014-08-14 18:12:08 +02:00
Emmanuel Pescosta cdebd19925 Merge branch 'master' of git://anongit.kde.org/kde-baseapps 2014-08-14 17:57:44 +02:00