Rabbit Remote Control 0.1.0-bate5
Loading...
Searching...
No Matches
Signals | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CDesktopShortcutsManager Class Reference
Inheritance diagram for CDesktopShortcutsManager:
Inheritance graph
[legend]
Collaboration diagram for CDesktopShortcutsManager:
Collaboration graph
[legend]

Signals

void hotkeyPressed (int keyCode, const QString &keyName)
 
void hotkeyBlocked (int keyCode, const QString &keyName)
 
void statusChanged (bool disabled)
 

Public Member Functions

 CDesktopShortcutsManager (QObject *parent=nullptr)
 
bool disableAllHotkeys ()
 
bool restoreAllHotkeys ()
 
bool isDisabled () const
 
bool disableWindowsKey ()
 
bool enableWindowsKey ()
 
bool disableAltTab ()
 
bool enableAltTab ()
 
bool disableTaskManager ()
 
bool enableTaskManager ()
 
bool nativeEventFilter (const QByteArray &eventType, void *message, qintptr *result) override
 

Private Member Functions

void initializeKeys ()
 
bool setKeyboardHook ()
 
bool removeKeyboardHook ()
 

Static Private Member Functions

static LRESULT CALLBACK keyboardProc (int nCode, WPARAM wParam, LPARAM lParam)
 

Private Attributes

bool m_hotkeysDisabled = false
 
bool m_keyboardHooked = false
 

Detailed Description

Definition at line 13 of file DesktopShortcuts.h.

Constructor & Destructor Documentation

◆ ~CDesktopShortcutsManager()

CDesktopShortcutsManager::~CDesktopShortcutsManager ( )

Definition at line 22 of file DesktopShortcuts.cpp.

Member Function Documentation

◆ disableAllHotkeys()

bool CDesktopShortcutsManager::disableAllHotkeys ( )

Definition at line 61 of file DesktopShortcuts.cpp.

◆ disableAltTab()

bool CDesktopShortcutsManager::disableAltTab ( )

Definition at line 207 of file DesktopShortcuts.cpp.

◆ disableTaskManager()

bool CDesktopShortcutsManager::disableTaskManager ( )

Definition at line 244 of file DesktopShortcuts.cpp.

◆ disableWindowsKey()

bool CDesktopShortcutsManager::disableWindowsKey ( )

Definition at line 133 of file DesktopShortcuts.cpp.

◆ enableAltTab()

bool CDesktopShortcutsManager::enableAltTab ( )

Definition at line 226 of file DesktopShortcuts.cpp.

◆ enableTaskManager()

bool CDesktopShortcutsManager::enableTaskManager ( )

Definition at line 269 of file DesktopShortcuts.cpp.

◆ enableWindowsKey()

bool CDesktopShortcutsManager::enableWindowsKey ( )

Definition at line 175 of file DesktopShortcuts.cpp.

◆ initializeKeys()

void CDesktopShortcutsManager::initializeKeys ( )
private

Definition at line 28 of file DesktopShortcuts.cpp.

◆ isDisabled()

bool CDesktopShortcutsManager::isDisabled ( ) const
inline

Definition at line 24 of file DesktopShortcuts.h.

◆ nativeEventFilter()

bool CDesktopShortcutsManager::nativeEventFilter ( const QByteArray &  eventType,
void *  message,
qintptr *  result 
)
override

Definition at line 371 of file DesktopShortcuts.cpp.

◆ removeKeyboardHook()

bool CDesktopShortcutsManager::removeKeyboardHook ( )
private

Definition at line 311 of file DesktopShortcuts.cpp.

◆ restoreAllHotkeys()

bool CDesktopShortcutsManager::restoreAllHotkeys ( )

Definition at line 96 of file DesktopShortcuts.cpp.

◆ setKeyboardHook()

bool CDesktopShortcutsManager::setKeyboardHook ( )
private

Definition at line 290 of file DesktopShortcuts.cpp.

Member Data Documentation

◆ m_hotkeysDisabled

bool CDesktopShortcutsManager::m_hotkeysDisabled = false
private

Definition at line 49 of file DesktopShortcuts.h.

◆ m_keyboardHooked

bool CDesktopShortcutsManager::m_keyboardHooked = false
private

Definition at line 50 of file DesktopShortcuts.h.


The documentation for this class was generated from the following files: