repo.or.cz
/
opentx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
removed PrefixPath debug line
[opentx.git]
/
companion
/
src
/
process_copy.h
blob
ad41d3c15b06d1c35a62bb8dd67f495ae5b88639
1
#ifndef COPYPROCESS_H_
2
#define COPYPROCESS_H_
3
4
#include <QObject>
5
#include <QString>
6
#include <QStringList>
7
8
class
ProgressWidget
;
9
10
class
CopyProcess
:
public
QObject
11
{
12
Q_OBJECT
13
14
public
:
15
CopyProcess
(
const
QString
&
source
,
const
QString
&
destination
,
ProgressWidget
*
progress
);
16
bool
run
();
17
18
signals
:
19
void
finished
();
20
21
protected
slots
:
22
void
onTimer
();
23
24
protected
:
25
ProgressWidget
*
progress
;
26
const
QString source
;
27
const
QString destination
;
28
bool
result
;
29
};
30
31
#endif
// COPYPROCESS_H_