diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-27 12:21:43 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-27 12:21:43 -0400 |
commit | 5de759a52a3339741bff176d47efb9d9399d7c0d (patch) | |
tree | 27bc82db0d3db6dc5bb94aba43141951e2549848 /src-qt5/core/lumina-desktop-unified | |
parent | Another couple minor changes - trying to track down some missing events. (diff) | |
download | lumina-5de759a52a3339741bff176d47efb9d9399d7c0d.tar.gz lumina-5de759a52a3339741bff176d47efb9d9399d7c0d.tar.bz2 lumina-5de759a52a3339741bff176d47efb9d9399d7c0d.zip |
Commit some more debugging and changes to the event systems for Lumina2.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified')
3 files changed, 3 insertions, 6 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/global-includes.h b/src-qt5/core/lumina-desktop-unified/global-includes.h index 53caf88f..94b1a364 100644 --- a/src-qt5/core/lumina-desktop-unified/global-includes.h +++ b/src-qt5/core/lumina-desktop-unified/global-includes.h @@ -66,10 +66,6 @@ #include <unistd.h> //Setup any global defines (no classes or global objects: use "global-objects.h" for that) -namespace Lumina{ - //Flags/enumerations - enum WindowAction{MoveResize, Show, Hide, TryClose, Closed, WA_NONE}; - enum MouseButton{NoButton, LeftButton, RightButton, MidButton, BackButton, ForwardButton, TaskButton, WheelUp, WheelDown, WheelLeft, WheelRight}; -}; + #endif diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.cpp b/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.cpp index 6bd36ef6..0a78fb25 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.cpp +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.cpp @@ -85,6 +85,7 @@ void DesktopContextMenu::start(){ // === PRIVATE SLOTS === void DesktopContextMenu::LaunchAction(QAction *act){ + //qDebug() << "Launch Action Triggered:" << act->whatsThis(); if(act->whatsThis().isEmpty() || act->parent()!=this ){ return; } qDebug() << "Launch Menu Action:" << act->whatsThis(); QString cmd = act->whatsThis(); diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.h b/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.h index 8b0509fb..1e3165ec 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/ContextMenu.h @@ -19,7 +19,7 @@ private: QLabel *workspaceLabel; QWidgetAction *wkspaceact; -public: +public: DesktopContextMenu(QWidget *parent = 0); ~DesktopContextMenu(); |