Ivailo Monev
59f92c0970
generic: compiler warning fixes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-03 20:21:35 +03:00
Ivailo Monev
b64a94ac19
kdeui: handle shortcut stealing in KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-26 04:19:37 +03:00
Ivailo Monev
383b6c53d0
kdeui: change only the active shortcut from KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-26 01:47:33 +03:00
Ivailo Monev
d74d369e5e
kdeui: simplify KActionCollection settings reading and writing
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 23:10:57 +03:00
Ivailo Monev
d077f26ce5
kdeui: deal with TODO related to KKeySequenceWidget
...
it is simple - as soon as a second key sequence is added to action it will
be a partial match with itself (atleast)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 09:08:48 +03:00
Ivailo Monev
080d40fc9f
kdeui: set flags for the KShortcutsEditor items
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 05:24:01 +03:00
Ivailo Monev
f8dbe8fb29
kdeui: copy the action tool and status tips in KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 05:08:59 +03:00
Ivailo Monev
3b7d786733
kdeui: redo the items when importing configuration in KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 03:57:50 +03:00
Ivailo Monev
91751cc302
kdeui: read actions collections settings once application has started
...
and since this is done by KApplication it is bound to it, finally shortcuts
are saved and restored tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 03:28:47 +03:00
Ivailo Monev
d5f125511c
kdeui: use the main component as fallback in KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 03:13:12 +03:00
Ivailo Monev
ef7148ff44
kdeui: sort internal KShortcutsEditor widget items and show columns based on options and items count
...
there may be a case of not having any items (e.g. only global shortcuts are
do be shown but there are none), have to figure out how to handle that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 02:44:23 +03:00
Ivailo Monev
d55aff3489
kdeui: do not add widgets for non-configurable shortcuts
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-25 00:14:27 +03:00
Ivailo Monev
d3fd904c29
kdeui: implement KShortcutsEditor::allDefault() and apply changes to the sequences
...
now to figure out if importing of action collections settings should be
magic or done by a KShortcutsEditor::importConfiguration() call (there is
only one place where it is called, see kwin/kcmkwin/kwindesktop/main.cpp)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 23:09:51 +03:00
Ivailo Monev
1e00291be2
kdeui: set the top-level items icon in KShortcutsEditor
...
kinda hack tho but makes it easier to distinguish between main and plugin
action collection shortcuts, if there is only one top-level item it should
not be visible (decorated) for cases like kwin KCM but this will be done
later on
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 22:34:39 +03:00
Ivailo Monev
9ca75a8355
kdeui: implement KShortcutsEditor::keyChange() signal
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 22:18:55 +03:00
Ivailo Monev
e7abdd765f
kdeui: setup conflict detection in KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 22:00:07 +03:00
Ivailo Monev
f9fdbc6a7e
kdeui: simplify reading and writing of shortcut settings
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 21:40:13 +03:00
Ivailo Monev
bbf7fddba4
kdeui: expand root KShortcutsEditor items and look for exisiting one first
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 20:48:23 +03:00
Ivailo Monev
f623641b73
kdeui: semi-working KShortcutsEditor
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 13:41:29 +03:00
Ivailo Monev
378011afe8
kdeui: remove unused KShortcutsEditor::ActionType enums
...
were not even used in the old implementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 11:12:13 +03:00
Ivailo Monev
843463c95d
kdeui: drop KSortcut
...
missing proper configuration interface for the shortcuts, the old one
was borked anyway
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 10:19:03 +03:00
Ivailo Monev
2bf47096e8
kdeui: format and indent
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 07:08:35 +03:00
Ivailo Monev
d05992bda9
kdeui: drop gesture support
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-21 04:41:08 +03:00
Ivailo Monev
007a44cd2f
generic: major build system cleanup
...
the test are broken!
2015-09-01 01:05:33 +03:00
Ivailo Monev
21ad0df488
generic: make changes required for building against katie
2015-08-11 05:56:07 +03:00
Ivailo Monev
5333e9917d
generic: remove deprecated API
2015-02-28 03:27:54 +00:00
Ivailo Monev
82fc15f54b
generic: use CMake moc instead of automoc4 by default
...
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.
CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
3f0dd268de
remove win and mac cruft
2014-11-27 18:22:42 +00:00
Ivailo Monev
814163a8dc
initial import
2014-11-13 01:04:59 +02:00