Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Konsole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
23
Merge Requests
23
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Utilities
Konsole
Commits
7b965c4c
Commit
7b965c4c
authored
Oct 18, 2007
by
Thomas Reitelbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some i18n clarifications
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=726707
parent
447f3201
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/ViewManager.cpp
src/ViewManager.cpp
+6
-6
No files found.
src/ViewManager.cpp
View file @
7b965c4c
...
...
@@ -121,19 +121,19 @@ void ViewManager::setupActions()
if
(
collection
)
{
KAction
*
splitLeftRightAction
=
new
KAction
(
KIcon
(
"view-left-right"
),
i18n
(
"Split View Left/Right"
),
i18n
c
(
"@action:inmenu"
,
"Split View Left/Right"
),
this
);
splitLeftRightAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_L
)
);
collection
->
addAction
(
"split-view-left-right"
,
splitLeftRightAction
);
connect
(
splitLeftRightAction
,
SIGNAL
(
triggered
())
,
this
,
SLOT
(
splitLeftRight
())
);
KAction
*
splitTopBottomAction
=
new
KAction
(
KIcon
(
"view-top-bottom"
)
,
i18n
(
"Split View Top/Bottom"
),
this
);
i18n
c
(
"@action:inmenu"
,
"Split View Top/Bottom"
),
this
);
splitTopBottomAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_T
)
);
collection
->
addAction
(
"split-view-top-bottom"
,
splitTopBottomAction
);
connect
(
splitTopBottomAction
,
SIGNAL
(
triggered
())
,
this
,
SLOT
(
splitTopBottom
()));
KAction
*
closeActiveAction
=
new
KAction
(
i18n
(
"Close Active"
)
,
this
);
KAction
*
closeActiveAction
=
new
KAction
(
i18n
c
(
"@action:inmenu Close Active View"
,
"Close Active"
)
,
this
);
closeActiveAction
->
setIcon
(
KIcon
(
"view-remove"
));
closeActiveAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_S
)
);
closeActiveAction
->
setEnabled
(
false
);
...
...
@@ -142,7 +142,7 @@ void ViewManager::setupActions()
multiViewOnlyActions
<<
closeActiveAction
;
KAction
*
closeOtherAction
=
new
KAction
(
i18n
(
"Close Others"
)
,
this
);
KAction
*
closeOtherAction
=
new
KAction
(
i18n
c
(
"@action:inmenu Close Other Views"
,
"Close Others"
)
,
this
);
closeOtherAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_O
)
);
closeOtherAction
->
setEnabled
(
false
);
collection
->
addAction
(
"close-other-views"
,
closeOtherAction
);
...
...
@@ -162,14 +162,14 @@ void ViewManager::setupActions()
connect
(
detachViewAction
,
SIGNAL
(
triggered
())
,
this
,
SLOT
(
detachActiveView
())
);
// Expand & Shrink Active View
KAction
*
expandActiveAction
=
new
KAction
(
i18n
(
"Expand View"
)
,
this
);
KAction
*
expandActiveAction
=
new
KAction
(
i18n
c
(
"@action:inmenu"
,
"Expand View"
)
,
this
);
expandActiveAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_BracketRight
)
);
collection
->
addAction
(
"expand-active-view"
,
expandActiveAction
);
connect
(
expandActiveAction
,
SIGNAL
(
triggered
())
,
this
,
SLOT
(
expandActiveView
())
);
multiViewOnlyActions
<<
expandActiveAction
;
KAction
*
shrinkActiveAction
=
new
KAction
(
i18n
(
"Shrink View"
)
,
this
);
KAction
*
shrinkActiveAction
=
new
KAction
(
i18n
c
(
"@action:inmenu"
,
"Shrink View"
)
,
this
);
shrinkActiveAction
->
setShortcut
(
QKeySequence
(
Qt
::
CTRL
+
Qt
::
SHIFT
+
Qt
::
Key_BracketLeft
)
);
collection
->
addAction
(
"shrink-active-view"
,
shrinkActiveAction
);
connect
(
shrinkActiveAction
,
SIGNAL
(
triggered
())
,
this
,
SLOT
(
shrinkActiveView
())
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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