TTKMusicPlayer  4.3.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_osx.cpp File Reference
#include <Carbon/Carbon.h>
#include "qglobalshortcut_p.h"
#include <QHash>
#include <QApplication>

Go to the source code of this file.

Typedefs

typedef QPair< quint32, quint32 > Identifier
 

Functions

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

Variables

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

Typedef Documentation

typedef QPair<quint32, quint32> Identifier

Definition at line 6 of file qglobalshortcut_osx.cpp.

Function Documentation

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

Definition at line 10 of file qglobalshortcut_osx.cpp.

Variable Documentation

QHash<Identifier, EventHotKeyRef> keyRefs
static

Definition at line 7 of file qglobalshortcut_osx.cpp.

bool q_mac_handler_installed = false
static

Definition at line 8 of file qglobalshortcut_osx.cpp.