David Faure
e615bfaed4
add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
...
This fixes some URLs built from local paths without scheme.
2016-06-25 16:40:18 +02:00
David Edmundson
25cc15a5a2
Port all instances of Kauthorized action/shell_command to shell_command
...
The KAuthorized key to prevent shell access according the documentation
is simply "shell_action" not "action/shellAction" so should use
authorize not authorizeKAction
This appears to have come about as part of a porting bug when going from
KApplication::authorize to KAuthorized in kdelibs3 to kdelibs4.
To currently block shell access a sysadmin currently needs to
have both keys set already, so we can be confident it won't have any
actual compatibility problems.
2016-05-26 13:51:35 +01:00
David Edmundson
3b95644fa1
Don't allow opening the terminal if shell_access Kiosk mode is set
...
DolphinPart already did this. Dolphin itself didn't have this feature.
REVIEW: 127951
2016-05-18 10:11:36 +01:00
Artur Puzio
5593c252e8
[CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
...
REVIEW: 126771
2016-03-16 22:17:37 +01:00
Wolfgang Bauer
bf1dbee1d6
Fix check whether window is closed by session management
...
qApp->isSessionRestored() specifies whether the application has been
restored by session management. This is obviously wrong here. Use
qApp->isSavingSession() instead.
BUG: 353548
FIXED-IN: 15.12.2
REVIEW: 126917
2016-01-28 21:03:14 +01:00
Frank Reininghaus
ddc050f235
Do not delete sub menus of the control menu explicitly
...
This is not necessary because the sub menus are children of the main
menu, such that they are deleted together with the other actions by
QMenu::clear().
This prevents a crash that can happen if a sub menu is open while
another menu action is clicked.
Thanks to Fabian Vogt and Wolfgang Bauer for investigating this issue!
BUG: 354558
FIXED-IN: 15.12.2
REVIEW: 126693
2016-01-14 20:36:28 +01:00
Emmanuel Pescosta
727d2513c0
Merge branch 'Applications/15.08'
2015-11-09 09:33:20 +01:00
Emmanuel Pescosta
5dd5eaf08d
Allow home directories with non-local file paths.
...
Paths like file:/home/me work now instead of showing
an error message.
BUG: 352743
BUG: 353550
FIXED-IN: 15.08.3
REVIEW: 125586
2015-10-21 13:45:45 +02:00
andreas kainz
90fd2be751
Breeze: wrong icon usage Request 124971
2015-09-01 22:10:40 +02:00
Emmanuel Pescosta
5acfb27760
Simplify startup split view handling
...
* Instead of setting and resetting GeneralSettings's split view option, just pass it on to openFiles/openDirectories.
* Require at least one url in openFiles/openDirectories
REVIEW: 123395
2015-04-27 12:55:53 +02:00
Hrvoje Senjan
adeaab9745
Fix build in a kdelibs4-free enviroment
...
If one had kdelibs includes in /usr, they would get magically
picked up, so the build would succeed.
2015-02-27 20:17:59 +01:00
Emmanuel Pescosta
832e157ecd
Port away from KDELibs4Support (we only use KDELibs4Support when baloo isn't present, because KFileMetaDataWidget is in KDELibs4Support)
...
Reviewed-By: Vishesh Handa
2015-02-26 18:10:42 +01:00
Mathieu Tarral
c725848709
Port Dolphin away from KApplication, KCmdLineArgs and K4AboutData
2015-02-04 10:22:03 +01:00
Emmanuel Pescosta
3515582495
Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
...
REVIEW: 122305
2015-02-03 09:25:33 +01:00
Emmanuel Pescosta
f8187b982a
Revert commit 0c6c76b038e868e225f7816fae39635d472bce0a and make the
...
QWeakPointer a QPointer (+comment) to make it clear, that we must track the lifetime of the context menu instead of doing "only" out of scope deleting.
Thanks to Frank for pointing out this problem!
CCMAIL: frank78ac@googlemail.com
2015-01-29 13:45:14 +01:00
Emmanuel Pescosta
7745a93547
Make the QWeakPointer<DolphinContextMenu> a QScopedPointer<DolphinContextMenu>
2015-01-28 16:25:41 +01:00
Emmanuel Pescosta
297a67aad8
forward requestItemInfo signal
2015-01-28 15:10:28 +01:00
Emmanuel Pescosta
7a7e8ee819
undo should be disabled by default
2015-01-28 15:04:32 +01:00
Emmanuel Pescosta
7e03c99ebb
use DolphinMainWindow::showErrorMessage instead of DolphinMainWindow::slotPanelErrorMessage because the implementation is exactly the same
2015-01-28 14:54:47 +01:00
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
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
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
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
Montel Laurent
422dc4e921
Port to QDialog
2014-10-28 21:49:53 +01:00
Lukáš Tinkl
1b4572dac9
port Dolphin from KUrl to QUrl
...
REVIEW: 120688
2014-10-21 21:19:14 +02:00
Lukáš Tinkl
d9d7926c49
port Konqueror from KUrl to QUrl
...
REVIEW: 120650
2014-10-21 00:28:58 +02:00
Montel Laurent
0a6257bce3
Fix includes
2014-10-18 15:00:17 +02:00
Montel Laurent
31a0c4fbd5
Fix includes
2014-10-18 14:42:41 +02:00
Montel Laurent
6f6b1bbb69
Clean includes + port to QMenu
2014-10-10 23:36:36 +02:00
Montel Laurent
5c1420fec9
kdelibs4support--
2014-10-07 07:38:16 +02:00
Emmanuel Pescosta
6a09781a3b
Ported Dolphin away from KStandardDirs
...
removed unused mirroredDirectory method
REVIEW: 120194
2014-10-01 12:34:49 +02:00
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
e02e55fd71
simple setShortcuts => setDefaultShortcuts porting
2014-09-14 22:49:25 +02:00
Christoph Cullmann
81f7a1aa80
simple setShortcuts => setDefaultShortcuts porting
2014-09-14 22:45:10 +02:00
Emmanuel Pescosta
4de8cf43e6
Ported KIcon to QIcon
...
REVIEW: 120159
2014-09-12 13:15:54 +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
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
39d8fb12c1
React on the redirection signal from DolphinView to properly update the tab and window titles.
...
REVIEW: 119697
BUG: 305721
2014-08-13 22:06:28 +02:00
Emmanuel Pescosta
62418c58a5
Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
...
REVIEW: 118968
2014-08-13 20:50:36 +02:00
David Faure
3e5ff13f92
Port from KonqMimeData to KIO::isClipboardDataCut/setClipboardDataCut
2014-08-13 18:27:09 +02:00
Emmanuel Pescosta
38381bc6a2
Implemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWindow.
...
REVIEW: 119115
2014-08-10 18:52:06 +02:00
Arnold Dumas
ed20a18a73
Clean up KAction leftovers.
2014-07-31 20:06:17 +02:00
Luca Beltrame
674a9c08bb
Fix build
2014-07-22 16:15:25 +02:00
Luca Beltrame
de3e2ae40f
Merge branch 'master' into frameworks
2014-07-22 15:58:03 +02:00
Arjun AK
9a69506572
make CTRL+SHIFT+T reopen last closed tab
...
BUG: 336818
FEATURE: 118994
2014-07-22 17:31:49 +05:30
Luca Beltrame
e242d9548d
Merge branch 'master' into frameworks
...
Conflicts:
kdepasswd/kcm/kcm_useraccount.desktop [deleted in frameworks branch]
plasma/applets/folderview/plasma-applet-folderview.desktop [deleted in frameworks branch]
2014-07-16 10:13:57 +02:00
Frank Reininghaus
abd114f710
Merge branch 'KDE/4.14'
2014-07-16 09:16:24 +02:00
Frank Reininghaus
7cb193de10
Fix regression concerning the "Places" selector in the location bar
...
This commit ensures that the selector is visible in all location bars
if and only if the Places Panel is hidden. It fixes a regression caused
by commit 6a98d83312
.
BUG: 337389
FIXED-IN: 4.14.0
REVIEW: 119238
2014-07-16 09:12:16 +02:00