TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Typedefs | Functions | Variables
qglobalshortcut_mac.cpp File Reference
#include <Carbon/Carbon.h>
#include "qglobalshortcut_p.h"
#include <QMap>
#include <QApplication>

Go to the source code of this file.

Typedefs

typedef QPair< uint, uint > Identifier
 

Functions

OSStatus q_mac_handle_hot_key (EventHandlerCallRef nextHandler, EventRef event, void *data)
 

Variables

static QMap< quint32, EventHotKeyRef > keyRefs
 
static QHash< Identifier, quint32 > keyIDs
 
static quint32 hotKeySerial = 0
 
static bool q_mac_handler_installed = false
 

Typedef Documentation

typedef QPair<uint, uint> Identifier

Definition at line 6 of file qglobalshortcut_mac.cpp.

Function Documentation

OSStatus q_mac_handle_hot_key ( EventHandlerCallRef  nextHandler,
EventRef  event,
void *  data 
)

Definition at line 12 of file qglobalshortcut_mac.cpp.

Referenced by QGlobalShortcutPrivate::registerShortcut().

Variable Documentation

quint32 hotKeySerial = 0
static

Definition at line 9 of file qglobalshortcut_mac.cpp.

Referenced by QGlobalShortcutPrivate::registerShortcut().

QHash<Identifier, quint32> keyIDs
static
QMap<quint32, EventHotKeyRef> keyRefs
static
bool q_mac_handler_installed = false
static

Definition at line 10 of file qglobalshortcut_mac.cpp.

Referenced by QGlobalShortcutPrivate::registerShortcut().