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
UndoTransaction.h
Go to the documentation of this file.
1
/***************************************************************************
2
UndoTransaction.h - groups moulitple UndoAction objects together
3
-------------------
4
begin : Fri May 25 2001
5
copyright : (C) 2001 by Thomas Eschenbacher
6
email : Thomas Eschenbacher <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 UNDO_TRANSACTION_H
19
#define UNDO_TRANSACTION_H
20
21
#include "config.h"
22
23
#include <QList>
24
#include <QString>
25
26
class
UndoAction;
27
28
namespace
Kwave
{
29
37
class
UndoTransaction
:
public
QList<UndoAction *>
38
{
39
40
public
:
41
47
explicit
UndoTransaction
(
const
QString &
name
);
48
50
virtual
~UndoTransaction
();
51
53
qint64
undoSize
();
54
56
qint64
redoSize
();
57
64
QString
description
();
65
72
bool
containsModification
()
const
;
73
77
void
abort
();
78
82
bool
isAborted
()
const
{
return
m_aborted
; }
83
85
virtual
void
dump
(
const
QString &indent);
86
87
private
:
88
90
QString
m_description
;
91
93
bool
m_aborted
;
94
95
};
96
}
97
98
#endif
/* UNDO_TRANSACTION_H */
99
100
//***************************************************************************
101
//***************************************************************************
Kwave::UndoTransaction::abort
void abort()
Definition:
UndoTransaction.cpp:102
Kwave
Definition:
App.h:33
Kwave::UndoTransaction::UndoTransaction
UndoTransaction(const QString &name)
Definition:
UndoTransaction.cpp:27
Kwave::UndoTransaction
Definition:
UndoTransaction.h:37
Kwave::UndoTransaction::containsModification
bool containsModification() const
Definition:
UndoTransaction.cpp:89
Kwave::UndoTransaction::redoSize
qint64 redoSize()
Definition:
UndoTransaction.cpp:54
Kwave::UndoTransaction::m_description
QString m_description
Definition:
UndoTransaction.h:90
name
const char name[16]
Definition:
memcpy.c:510
Kwave::UndoTransaction::dump
virtual void dump(const QString &indent)
Definition:
UndoTransaction.cpp:108
Kwave::UndoTransaction::isAborted
bool isAborted() const
Definition:
UndoTransaction.h:82
Kwave::UndoTransaction::m_aborted
bool m_aborted
Definition:
UndoTransaction.h:93
Kwave::UndoTransaction::undoSize
qint64 undoSize()
Definition:
UndoTransaction.cpp:42
Kwave::UndoTransaction::description
QString description()
Definition:
UndoTransaction.cpp:66
Kwave::UndoTransaction::~UndoTransaction
virtual ~UndoTransaction()
Definition:
UndoTransaction.cpp:33
libkwave
undo
UndoTransaction.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13