diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-15 13:59:29 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-15 13:59:29 -0400 |
commit | dd2c75a495c451ca27ed8a3ac1c670509bad7fdc (patch) | |
tree | 4daa98484575dc8d2aee292663b570c6d9c7ccc8 /lumina-fm/MainUI.h | |
parent | Add an option to lumina-fm to spawn a new instance/window (Ctrl-N keyboard sh... (diff) | |
download | lumina-dd2c75a495c451ca27ed8a3ac1c670509bad7fdc.tar.gz lumina-dd2c75a495c451ca27ed8a3ac1c670509bad7fdc.tar.bz2 lumina-dd2c75a495c451ca27ed8a3ac1c670509bad7fdc.zip |
Clean up the copy/cut/paste/delete keyboard shortcuts. Now the shortcuts are registered in the main window, and it passes the signal to the currently-active browser for evaluation/action. This allows the shortcuts to work no matter what window/widget is currently active.
Diffstat (limited to 'lumina-fm/MainUI.h')
-rw-r--r-- | lumina-fm/MainUI.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index 588e2f15..e9a2aff8 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -89,6 +89,7 @@ private: QSettings *settings; QShortcut *nextTabLShort, *nextTabRShort, *closeTabShort, *refreshShort; + QShortcut *copyFilesShort, *cutFilesShort, *pasteFilesShort, *deleteFilesShort; QCompleter *dirCompleter; //Simplification Functions @@ -132,6 +133,12 @@ private slots: void prevTab(); //For keyboard shortcuts void refreshTabs(); //For keyboard shortcut + //Special Keyboard shortcut interactions + void CopyFilesTriggered(); + void CutFilesTriggered(); + void PasteFilesTriggered(); + void DeleteFilesTriggered(); + //Backend Info passing void DirDataAvailable(QString, QString, LFileInfoList); void SnapshotDataAvailable(QString, QString, QStringList); |