TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Private Member Functions | List of all members
MusicGlobalHotKeyEdit Class Reference

The class of the global hotKey lineEdit. More...

#include <musicglobalhotkeyedit.h>

+ Inheritance diagram for MusicGlobalHotKeyEdit:

Public Member Functions

 MusicGlobalHotKeyEdit (QWidget *parent=nullptr)
 
void setHotKeyEnabled (bool state)
 

Private Member Functions

virtual void keyPressEvent (QKeyEvent *event) overridefinal
 

Detailed Description

The class of the global hotKey lineEdit.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 28 of file musicglobalhotkeyedit.h.

Constructor & Destructor Documentation

MusicGlobalHotKeyEdit::MusicGlobalHotKeyEdit ( QWidget *  parent = nullptr)
explicit

Object constructor.

Definition at line 6 of file musicglobalhotkeyedit.cpp.

Member Function Documentation

void MusicGlobalHotKeyEdit::keyPressEvent ( QKeyEvent *  event)
finaloverrideprivatevirtual

Override the widget event.

Definition at line 18 of file musicglobalhotkeyedit.cpp.

References G_HOTKEY_PTR.

void MusicGlobalHotKeyEdit::setHotKeyEnabled ( bool  state)

Set hotKey enable state.

Definition at line 12 of file musicglobalhotkeyedit.cpp.


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