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
Multimedia
Amarok
Commits
c167a866
Commit
c167a866
authored
Feb 15, 2012
by
Bart Cerneels
Browse files
Add keyboard shortcut for Edit Track
Patch by: Jasneet Bhatti FEATURE: 173814 FIXED-IN:2.6 REVIEW: 103960
parent
dbee445a
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c167a866
...
...
@@ -4,6 +4,8 @@ Amarok ChangeLog
Version 2.6-Beta 1
FEATURES:
* Added keyboard shortcut for "Edit Track Information..." (BR 173814)
Patch by Jasneet Bhatti.
* Support for embedded album covers in non-collection tracks and
in USB Mass Storage collection.
* Hold the Shift key when dragging tracks to collections to move them
...
...
src/MainWindow.cpp
View file @
c167a866
...
...
@@ -521,6 +521,12 @@ MainWindow::slotShowActiveTrack() const
m_playlistDock
.
data
()
->
showActiveTrack
();
}
void
MainWindow
::
slotEditTrackInfo
()
const
{
m_playlistDock
.
data
()
->
editTrackInfo
();
}
void
MainWindow
::
slotShowCoverManager
()
const
//SLOT
{
...
...
@@ -765,6 +771,11 @@ MainWindow::createActions()
action
->
setShortcut
(
Qt
::
CTRL
+
Qt
::
Key_O
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)
),
SLOT
(
slotPlayMedia
()
)
);
action
=
new
KAction
(
KIcon
(
"media-track-edit-amarok"
),
i18n
(
"Edit Details of Currently Selected Track"
),
this
);
ac
->
addAction
(
"trackdetails_edit"
,
action
);
action
->
setShortcut
(
Qt
::
CTRL
+
Qt
::
Key_E
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)
),
SLOT
(
slotEditTrackInfo
()
)
);
action
=
new
KAction
(
KIcon
(
"media-seek-forward-amarok"
),
i18n
(
"&Seek Forward"
),
this
);
ac
->
addAction
(
"seek_forward"
,
action
);
action
->
setShortcut
(
Qt
::
Key_Right
);
...
...
src/MainWindow.h
View file @
c167a866
...
...
@@ -136,6 +136,7 @@ class AMAROK_EXPORT MainWindow : public KMainWindow
void
exportPlaylist
()
const
;
void
slotShowActiveTrack
()
const
;
void
slotEditTrackInfo
()
const
;
void
slotShowBookmarkManager
()
const
;
void
slotShowEqualizer
()
const
;
void
slotShowCoverManager
()
const
;
...
...
src/playlist/PlaylistDock.cpp
View file @
c167a866
...
...
@@ -321,6 +321,12 @@ Playlist::Dock::showActiveTrack()
m_playlistView
->
scrollToActiveTrack
();
}
void
Playlist
::
Dock
::
editTrackInfo
()
{
m_playlistView
->
editTrackInformation
();
}
void
Playlist
::
Dock
::
showDynamicHint
()
// slot
{
...
...
src/playlist/PlaylistDock.h
View file @
c167a866
...
...
@@ -52,6 +52,7 @@ public:
SortWidget
*
sortWidget
();
ProgressiveSearchWidget
*
searchWidget
();
void
showActiveTrack
();
void
editTrackInfo
();
void
polish
();
...
...
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