Commit graph

4732 commits

Author SHA1 Message Date
Emmanuel Pescosta 5e91504d4b port away from VBox/HBox 2014-12-14 18:32:48 +01:00
Emmanuel Pescosta 68df2a725e show warnings about deprecated declarations 2014-12-14 17:47:58 +01:00
Emmanuel Pescosta a07d63d419 port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false); 2014-12-14 17:46:58 +01:00
Arjun AK 895a7c941b Fix Terminal-View navigation sync issue
The URL needs to be constructed from 'QUrl::fromLocalFile()' instead of
a QString so that the scheme is set properly.

REVIEW: 121409
BUG: 341678
2014-12-10 23:13:23 +05:30
Arjun AK 1d7b3b8df5 Fix KUrl -> QUrl porting error
Trailing slashes should be removed before calling QUrl::filename(),
else it will return an empty string.

BUG: 341411
REVIEW: 121293
2014-12-01 17:31:39 +05:30
Montel Laurent de7eefeb7e Fix desktop name 2014-11-20 13:36:24 +01:00
Luca Beltrame 3e5f78a1cc Fix build after review 121078
RR 121078 fixed exports, but did not include the necessary
generate_export_header in the CMakeLists.txt.

Please, if you are testing for Windows, ensure you also test your build
in Linux (and with a clean build dir). The fact that kde-baseapps for
KF5 is still unreleased does not mean it should not be buildable.

CCMAIL: andriusmao@gmail.com
2014-11-20 09:28:11 +01:00
Andrius da Costa Ribas e1789b559e Fix Exports.
REVIEW: 121078
2014-11-20 01:06:58 -02:00
Lukáš Tinkl c79eb81a34 set the dolphin part's translation domain
see RR 121141 for details
2014-11-19 00:54:51 +01:00
Emmanuel Pescosta 17c7e2f469 Fixed build error which was introduced by commit 7ed7cd97d084364d8ee61b35f5ffa3630c5277a4
CCMAIL: bhush94@gmail.com
2014-11-11 08:02:29 +01:00
Emmanuel Pescosta 424d20e435 KIntSpinBox to QSpinBox 2014-11-10 09:12:33 +01:00
Emmanuel Pescosta 02c0835148 KLineEdit to QLineEdit 2014-11-10 09:08:04 +01:00
Emmanuel Pescosta d0f0f1f2e2 make use of initializer lists 2014-11-10 08:45:38 +01:00
Emmanuel Pescosta 82f19ab470 get rid of unused warnings 2014-11-10 08:42:37 +01:00
Frank Reininghaus cc299154f4 Fix more unit test failures
This commit is analogous to 5cf8941ac789e47da70fe466033f45df9af1a3fa,
but the problem existed since the frameworks port was started and was
not obvious because the QString -> KUrl/QUrl port was done implicitly
when calling KIO::rename(oldPath, newPath, KIO::HideProgressInfo).

REVIEW: 120941
2014-11-04 22:42:45 +01:00
Frank Reininghaus 66a1b33e5a Fix unit test failures
These were caused by 86e31084ced8ba4875a6128f91ec2ca3d6df7a31 - note
that the correct replacement for KUrl(fileName) is
QUrl::fromLocalFile(fileName), and that calling the const function
urlA.adjusted(QUrl::RemoveFilename) only has an effect if the return
value is taken.
2014-11-04 22:42:37 +01:00
Lukáš Tinkl a069d24d4b fix default tab prev/next shortcuts
take into accound the whole list, not just the first shortcut
2014-11-04 00:00:04 +01:00
Lukáš Tinkl 037d5db85b Q_DECL_OVERRIDE 2014-11-03 23:52:18 +01:00
Lukáš Tinkl b96def1856 use QUrl::fromLocalFile() on devices
fixes being unable to access eg. removable drives
2014-11-03 18:25:19 +01:00
Lukáš Tinkl 7a3310ce73 fix initializer list 2014-11-03 16:16:52 +01:00
David Faure 30175dcbde KonqOperations: KIO::pasteMimeData -> KIO::paste, update signal and simplify dolphin accordingly. 2014-11-02 17:17:24 +01:00
David Faure 3e14a97a0f Many cleanups in KonqOperations 2014-11-02 17:03:18 +01:00
David Faure 98880e4430 Update status of paste action once directory has finished loading.
Since 6a6cf1ab328e7600f0c2b375e43a1e3bd236a5a7, it depends on rootItem()
which is not available until the dirlister emits it.
2014-11-02 15:34:30 +01:00
David Faure 8b306b67bf Port from KonqOperations::doPaste to new job KIO::paste
Remove KonqOperations::doPaste.
2014-11-02 15:20:41 +01:00
Arjun AK e256daa569 Enable KRun's script execution prompt.
This commit enables KRun's script/desktop file execution prompts,
which is shown when the user launches an executable script or a
desktop file. This is done so as to prevent the user from accidentaly
executing programs. A checkbox to enable or disable the prompts is also
being added to the preferences window

REVIEW: 120171
BUG: 275405
2014-11-01 16:41:29 +05:30
Montel Laurent 422dc4e921 Port to QDialog 2014-10-28 21:49:53 +01:00
Montel Laurent a76cb4c67f Port to QDebug*. KVBox-- 2014-10-27 22:30:02 +01:00
Lukáš Tinkl 5ed011357c don't save view_properties in ~/.local/share/dolphindolphin
looks like writableLocation() already includes the app name
2014-10-26 19:02:03 +01:00
Frank Reininghaus fa988586bc Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	dolphin/src/panels/terminal/terminalpanel.cpp
	dolphin/src/panels/terminal/terminalpanel.h
2014-10-24 18:49:05 +02:00
Frank Reininghaus 1f02d15f7e Merge remote-tracking branch 'origin/KDE/4.14' 2014-10-24 18:45:28 +02:00
Frank Reininghaus d9700c4d43 Make the view/Terminal Panel synchronization less error-prone
The previous solution could cause problems if the user navigates to a
different URL in one view, and then activates another split view very
quickly: the new active view might be switched to the same URL as the
first view, which is unwanted.

To fix this problem, we record a history of "cd" commands that Dolphin
sends to the Terminal Panel in a queue. If a currentDirectoryChanged
signal is received, and the new terminal directory is "dir", this patch
does the following:

1.  If the queue is empty, change the view URL to "dir".
2.  Otherwise, take the queue's head, and check if it is equal to
    "dir". If that is the case, ignore the signal and return.
3.  Go back to step 1.

This ensures that every currentDirectoryChange signal that is caused by
a "cd" that was sent from Dolphin to the terminal is ignored.

BUG: 339009
BUG: 314038
REVIEW: 120768
2014-10-24 18:14:08 +02:00
Andrey Bondrov 3f28c70423 Fix the information panel video player in Dolphin.
Patch from ROSA Linux.

BUG: 337107
BUG: 337033
BUG: 334924
CCBUG: 339882
REVIEW: 120745
FIXED-IN: 4.14.3
2014-10-24 08:26:40 +02:00
Frank Reininghaus 592e1730e2 Merge branch 'KDE/4.14' 2014-10-23 23:23:19 +02:00
Frank Reininghaus 9d6f50ac50 Connect to the currentDirectoryChanged signal after the shell setup
This fixes the problem that the view URL may be reset to the Home URL
when opening the Terminal Panel while browsing a remote URL. Moreover,
it fixes crashes that can occur when the signal is received during the
shell setup if the DolphinMainWindow does not have a valid
m_activeViewContainer yet.

BUG: 339502
BUG: 340233
REVIEW: 120726
FIXED-IN: 4.14.3
2014-10-23 23:17:43 +02:00
Emmanuel Pescosta c07a97c4be Use the path instead of the display string in PlacesItemModel::closestItem,
fixes the determination of the closest item for me.
2014-10-21 22:54:15 +02:00
Emmanuel Pescosta c9641c96f9 Fix Dolphin build (protocol -> scheme) 2014-10-21 22:31:50 +02:00
Lukáš Tinkl a8b39ff601 address 2 more KUrl -> QUrl issues mentioned in rr#120688 2014-10-21 22:02:26 +02:00
David Faure 9bf03a3c48 Dolphin: port to KIO::pasteInfoText().
DolphinContextMenu::createPasteAction used to be precise about destination
("Paste To Folder"), while now it's precise about the source (what to paste).
It was decided that this was more useful and consistent anyway.

REVIEW: 120695
2014-10-21 21:59:05 +02:00
Lukáš Tinkl 0ce1c983b5 port away from KMimeType 2014-10-21 21:37:30 +02:00
Lukáš Tinkl 12413eb910 libkonq now loads its own catalog 2014-10-21 21:37:09 +02:00
Lukáš Tinkl 1b4572dac9 port Dolphin from KUrl to QUrl
REVIEW: 120688
2014-10-21 21:19:14 +02:00
David Faure 3653c8ad6b Merge doPaste and doPasteV2. Remove unused QPoint. Remove unused editMimeType. 2014-10-21 00:39:40 +02:00
David Faure 403f8e7133 Port from KonqOperations::editMimeType to KMimeTypeEditor::editMimeType (from kwidgetsaddons) 2014-10-21 00:38:39 +02:00
Lukáš Tinkl d9d7926c49 port Konqueror from KUrl to QUrl
REVIEW: 120650
2014-10-21 00:28:58 +02:00
Emmanuel Pescosta 3c74d908de The filenamesearch ioslave has been moved to kio-extras, remove it from Dolphin.
See commit 05689c462745edbaeebcfc63d456877746805451 in kio-extras
2014-10-20 11:10:13 +02:00
Montel Laurent bfdc5a44d2 Increase version 2014-10-19 15:07:34 +02:00
Montel Laurent 0a6257bce3 Fix includes 2014-10-18 15:00:17 +02:00
Montel Laurent aabd6ad3bc port to QPushButton 2014-10-18 14:43:41 +02:00
Montel Laurent 31a0c4fbd5 Fix includes 2014-10-18 14:42:41 +02:00
Montel Laurent 3d6c254846 Remove kdelibs4support 2014-10-18 14:40:47 +02:00