Commit Graph

10 Commits

Author SHA1 Message Date
Georg Gadinger
7f41a38371 Improve usability on macOS including altering shortcuts
This change removes some application attributes that are not necessary anymore (like disabling the global menu bar) or make Konsole behave slightly different when used from a KPart (e.g. inside Kate), and changes some keyboard shortcuts around (mainly using Command instead of Ctrl+Shift now.)

Unfortunately this does not resolve the requirement for the special keytab file for macOS; it looks like Qt does something funny with the QKeyEvents here: on Linux these have a `text` attribute set to e.g. `\u0003` for `^C`, that attribute is empty on macOS.

Note this could impact shortcut changes on non-macOS systems.
2022-06-21 00:10:44 +00:00
Ahmad Samir
97569b764c Run clang-format on the whole repo
Also install the relevant git hook.

GIT_SILENT
2021-09-06 12:51:39 +02:00
Laurent Montel
99b3959464 Add missing includes when we want to build without deprecated methods 2021-08-06 13:20:12 +02:00
Carlos Alves
343d8595d7 Remove deprecated functions
Konsole minimum required version is QT 5.14 and KF5 5.71, there is no
need to keep support for those deprecated functions.
2021-01-02 14:12:09 +00:00
Laurent Montel
8242763fb3 operator+/- is disabled for QFlags in qt6 2020-12-09 07:57:05 +01:00
Kurt Hindenburg
78a0092522 Convert src to use SPDX license/copyright
https://community.kde.org/Policies/Licensing_Policy#SPDX_Statements
https://community.kde.org/Guidelines_and_HOWTOs/Licensing
2020-11-12 22:17:06 -05:00
Ahmad Samir
6db7f8d259 [BookmarkMenu] Adapt the code to KBookmarks 5.69 changes
Starting from KBookmarks 5.69 the ctor that took a KActionCollection
parameter has been deprecated, and we need to manually add the various
bookmark actions to the actionCollection so that they show up in the
shortcusts editor.

Move the code that overrides the add bookmark shortcut, Ctrl+B, to the
BookmarkMenu class, so that all the relevant code is in one place.

BUG: 419981
2020-04-13 16:03:09 +02:00
Kurt Hindenburg
f121ecd24a Use std::any_of instead of loop 2019-08-27 21:40:41 -04:00
Kurt Hindenburg
1852b6bae7 Add note about duplicates in sub-folders 2019-08-24 15:13:57 -04:00
Martin T. H. Sandsmark
befaaa0255 Do not allow adding duplicates in bookmarks
This currently only catches bookmarks in top-level (ie not sub-folders)

Original code by Tomaz Canabrava <tcanabrava@kde.org>

BUG: 408939
FIXED-IN: 19.12

https://invent.kde.org/kde/konsole/merge_requests/8
2019-08-24 15:12:46 -04:00