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
Marco Bubke
flatpak-qt-creator
Commits
91f8a299
Commit
91f8a299
authored
Oct 07, 2009
by
Roberto Raggi
Browse files
Use CTRL+SHIFT+U as shortcut for the `Find Usages of a symbol'.
Done with mae
parent
45933a35
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppplugin.cpp
View file @
91f8a299
...
...
@@ -214,6 +214,7 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
QAction
*
findUsagesAction
=
new
QAction
(
tr
(
"Find Usages"
),
this
);
cmd
=
am
->
registerAction
(
findUsagesAction
,
Constants
::
FIND_USAGES
,
context
);
cmd
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+Shift+U"
)));
connect
(
findUsagesAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
findUsages
()));
contextMenu
->
addAction
(
cmd
);
am
->
actionContainer
(
CppTools
::
Constants
::
M_TOOLS_CPP
)
->
addAction
(
cmd
);
...
...
src/plugins/texteditor/texteditoractionhandler.cpp
View file @
91f8a299
...
...
@@ -251,7 +251,6 @@ void TextEditorActionHandler::createActions()
m_selectBlockDownAction
=
new
QAction
(
tr
(
"Select Block Down"
),
this
);
command
=
am
->
registerAction
(
m_selectBlockDownAction
,
Constants
::
SELECT_BLOCK_DOWN
,
m_contextId
);
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+Shift+U"
)));
connect
(
m_selectBlockDownAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
selectBlockDown
()));
advancedMenu
->
addAction
(
command
,
Core
::
Constants
::
G_EDIT_BLOCKS
);
...
...
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