diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-11 14:06:50 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-11 14:07:25 -0400 |
commit | fc7146bbf3e067fc58ae9d5d21fa7403e1db5326 (patch) | |
tree | c3c9db4d53c9788538ec60cbce8ec29fad3fa051 /src-qt5/core/lumina-desktop-unified/LSession.cpp | |
parent | Added more key support for Lumina 2.0 (diff) | |
download | lumina-fc7146bbf3e067fc58ae9d5d21fa7403e1db5326.tar.gz lumina-fc7146bbf3e067fc58ae9d5d21fa7403e1db5326.tar.bz2 lumina-fc7146bbf3e067fc58ae9d5d21fa7403e1db5326.zip |
Start adding some default keyboard shortcuts/files to Lumina 2.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/LSession.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/LSession.cpp b/src-qt5/core/lumina-desktop-unified/LSession.cpp index 2155a8b7..bcbeeeb4 100644 --- a/src-qt5/core/lumina-desktop-unified/LSession.cpp +++ b/src-qt5/core/lumina-desktop-unified/LSession.cpp @@ -222,7 +222,9 @@ void LSession::setupGlobalConnections(){ connect(Lumina::SHORTCUTS, SIGNAL(StartLogout()), this, SLOT(StartLogout()) ); connect(Lumina::SHORTCUTS, SIGNAL(StartReboot()), this, SLOT(StartReboot()) ); connect(Lumina::SHORTCUTS, SIGNAL(StartShutdown()), this, SLOT(StartShutdown()) ); - + connect(Lumina::SHORTCUTS, SIGNAL(LaunchApplication(QString), this, SLOT(LaunchApplication(QString)) ); + connect(Lumina::SHORTCUTS, SIGNAL(LaunchStandardApplication(QString)), this, SLOT(LaunchStandardApplication(QString)) ); + connect(Lumina::SHORTCUTS, SIGNAL(LockSession()), Lumina::SS, SLOT(LockScreenNow()) ); //Root window connections connect(Lumina::ROOTWIN, SIGNAL(RegisterVirtualRoot(WId)), Lumina::NWS, SLOT(RegisterVirtualRoot(WId)) ); connect(Lumina::ROOTWIN, SIGNAL(RootResized(QRect)), Lumina::NWS, SLOT(setRoot_desktopGeometry(QRect)) ); @@ -381,6 +383,14 @@ void LSession::StartReboot(bool skipupdates){ QCoreApplication::exit(0); } +void LSession::LaunchApplication(QString app){ + +} + +void LSession::LaunchStandardApplication(QString app){ + +} + void LSession::reloadIconTheme(){ //Wait a moment for things to settle before sending out the signal to the interfaces QApplication::processEvents(); |