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
ClipBoard.h
Go to the documentation of this file.
1
/***************************************************************************
2
ClipBoard.h - the Kwave clipboard
3
-------------------
4
begin : Tue Jun 26, 2001
5
copyright : (C) 2001 by Thomas Eschenbacher
6
email : Thomas Eschenbacher <thomas.eschenbacher@gmx.de>
7
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
19
#ifndef CLIP_BOARD_H
20
#define CLIP_BOARD_H
21
22
#include "config.h"
23
24
#include <QClipboard>
25
#include <QtGlobal>
26
#include <QObject>
27
28
#include "
libkwave/Sample.h
"
29
30
class
QWidget;
31
32
namespace
Kwave
33
{
34
35
class
SignalManager;
36
41
class
Q_DECL_EXPORT
ClipBoard
:
public
QObject
42
{
43
Q_OBJECT
44
public
:
45
47
ClipBoard
();
48
50
virtual
~
ClipBoard
();
51
53
static
ClipBoard
&instance();
54
65
void
copy(QWidget *widget,
Kwave::SignalManager
&signal_manager,
66
const
QList<unsigned int> &track_list,
67
sample_index_t
offset,
sample_index_t
length);
68
79
bool
paste(QWidget *widget,
Kwave::SignalManager
&signal_manager,
80
sample_index_t
offset,
sample_index_t
length);
81
86
void
clear();
87
91
bool
isEmpty();
92
93
signals:
94
101
void
clipboardChanged(
bool
data_available);
102
103
public
slots:
104
110
void
slotChanged(QClipboard::Mode mode);
111
112
private
:
113
115
unsigned
int
m_tracks
;
116
117
};
118
}
119
120
#endif
/* CLIP_BOARD_H */
121
122
//***************************************************************************
123
//***************************************************************************
Kwave
Definition:
App.h:33
Kwave::SignalManager
Definition:
SignalManager.h:64
Kwave::ClipBoard
Definition:
ClipBoard.h:41
sample_index_t
quint64 sample_index_t
Definition:
Sample.h:28
Sample.h
Kwave::ClipBoard::m_tracks
unsigned int m_tracks
Definition:
ClipBoard.h:115
libkwave
ClipBoard.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13