#include <ShortcutWrapper.h>
Definition at line 34 of file ShortcutWrapper.h.
◆ ShortcutWrapper()
Kwave::ShortcutWrapper::ShortcutWrapper |
( |
QWidget * |
parent, |
|
|
const QKeySequence & |
key, |
|
|
int |
id |
|
) |
| |
Constructor
- Parameters
-
parent | a parent widget |
key | a keyboard shortcuts sequence |
id | numeric id that gets emitted |
Definition at line 26 of file ShortcutWrapper.cpp.
References activated(), Kwave::connect(), and triggered().
29 :QShortcut(key, parent),
m_id(
id)
bool connect(Kwave::StreamObject &source, const char *output, Kwave::StreamObject &sink, const char *input)
◆ ~ShortcutWrapper()
Kwave::ShortcutWrapper::~ShortcutWrapper |
( |
| ) |
|
|
virtual |
◆ activated
void Kwave::ShortcutWrapper::activated |
( |
int |
id | ) |
|
|
signal |
emitted when the shortcut is activated
- Parameters
-
id | the numeric id passed in the constructor |
Referenced by ShortcutWrapper(), and triggered().
◆ triggered
void Kwave::ShortcutWrapper::triggered |
( |
| ) |
|
|
privateslot |
◆ m_id
int Kwave::ShortcutWrapper::m_id |
|
private |
The documentation for this class was generated from the following files: