kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
ShortcutWrapper.h
Go to the documentation of this file.
1
/***************************************************************************
2
ShortcutWrapper.h - wrapper for keyboard shortcuts
3
-------------------
4
begin : Sat Jan 12 2008
5
copyright : (C) 2008 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef SHORTCUT_WRAPPER_H
19
#define SHORTCUT_WRAPPER_H
20
21
#include "config.h"
22
23
#include <QObject>
24
#include <QShortcut>
25
26
class
QWidget;
27
class
QKeySequence;
28
32
namespace
Kwave
33
{
34
class
ShortcutWrapper
:
public
QShortcut
35
{
36
Q_OBJECT
37
public
:
44
ShortcutWrapper
(QWidget *parent,
const
QKeySequence &key,
int
id
);
45
47
virtual
~ShortcutWrapper
();
48
49
signals:
54
void
activated
(
int
id
);
55
56
private
slots:
57
59
void
triggered
();
60
61
private
:
62
64
int
m_id
;
65
};
66
}
67
68
#endif
/* SHORTCUT_WRAPPER_H */
69
70
//***************************************************************************
71
//***************************************************************************
Kwave
Definition:
App.h:33
Kwave::ShortcutWrapper::triggered
void triggered()
Definition:
ShortcutWrapper.cpp:41
Kwave::ShortcutWrapper::ShortcutWrapper
ShortcutWrapper(QWidget *parent, const QKeySequence &key, int id)
Definition:
ShortcutWrapper.cpp:26
Kwave::ShortcutWrapper::activated
void activated(int id)
Kwave::ShortcutWrapper::~ShortcutWrapper
virtual ~ShortcutWrapper()
Definition:
ShortcutWrapper.cpp:36
Kwave::ShortcutWrapper::m_id
int m_id
Definition:
ShortcutWrapper.h:64
Kwave::ShortcutWrapper
Definition:
ShortcutWrapper.h:34
kwave
ShortcutWrapper.h
Generated on Sat Mar 24 2018 09:10:24 for kwave by
1.8.13