Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
KImageMap Editor
Commits
5de09a79
Commit
5de09a79
authored
Oct 08, 2022
by
Kai Uwe Broulik
🍇
Browse files
Port from QKeySequence operator+ to operator|
The former is gone in Qt 6.
parent
9f8a4868
Changes
1
Hide whitespace changes
Inline
Side-by-side
kimagemapeditor.cpp
View file @
5de09a79
...
...
@@ -681,22 +681,22 @@ void KImageMapEditor::setupActions()
increaseWidthAction
=
new
QAction
(
i18n
(
"Increase Width"
),
this
);
actionCollection
()
->
addAction
(
"increasewidth"
,
increaseWidthAction
);
connect
(
increaseWidthAction
,
SIGNAL
(
triggered
(
bool
)),
SLOT
(
slotIncreaseWidth
()));
actionCollection
()
->
setDefaultShortcut
(
increaseWidthAction
,
QKeySequence
(
Qt
::
Key_Right
+
Qt
::
SHIFT
));
actionCollection
()
->
setDefaultShortcut
(
increaseWidthAction
,
QKeySequence
(
Qt
::
Key_Right
|
Qt
::
SHIFT
));
decreaseWidthAction
=
new
QAction
(
i18n
(
"Decrease Width"
),
this
);
actionCollection
()
->
addAction
(
"decreasewidth"
,
decreaseWidthAction
);
connect
(
decreaseWidthAction
,
SIGNAL
(
triggered
(
bool
)),
SLOT
(
slotDecreaseWidth
()));
actionCollection
()
->
setDefaultShortcut
(
decreaseWidthAction
,
QKeySequence
(
Qt
::
Key_Left
+
Qt
::
SHIFT
));
actionCollection
()
->
setDefaultShortcut
(
decreaseWidthAction
,
QKeySequence
(
Qt
::
Key_Left
|
Qt
::
SHIFT
));
increaseHeightAction
=
new
QAction
(
i18n
(
"Increase Height"
),
this
);
actionCollection
()
->
addAction
(
"increaseheight"
,
increaseHeightAction
);
connect
(
increaseHeightAction
,
SIGNAL
(
triggered
(
bool
)),
SLOT
(
slotIncreaseHeight
()));
actionCollection
()
->
setDefaultShortcut
(
increaseHeightAction
,
QKeySequence
(
Qt
::
Key_Up
+
Qt
::
SHIFT
));
actionCollection
()
->
setDefaultShortcut
(
increaseHeightAction
,
QKeySequence
(
Qt
::
Key_Up
|
Qt
::
SHIFT
));
decreaseHeightAction
=
new
QAction
(
i18n
(
"Decrease Height"
),
this
);
actionCollection
()
->
addAction
(
"decreaseheight"
,
decreaseHeightAction
);
connect
(
decreaseHeightAction
,
SIGNAL
(
triggered
(
bool
)),
SLOT
(
slotDecreaseHeight
()));
actionCollection
()
->
setDefaultShortcut
(
decreaseHeightAction
,
QKeySequence
(
Qt
::
Key_Down
+
Qt
::
SHIFT
));
actionCollection
()
->
setDefaultShortcut
(
decreaseHeightAction
,
QKeySequence
(
Qt
::
Key_Down
|
Qt
::
SHIFT
));
toFrontAction
=
new
QAction
(
i18n
(
"Bring to Front"
),
this
);
actionCollection
()
->
addAction
(
"tofront"
,
toFrontAction
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment