UltraScan III
Namespaces
Classes
Files
File List
File Members
programs
us_manage_data
us_data_process.h
Go to the documentation of this file.
1
#ifndef US_DATA_PROCESS_H
2
#define US_DATA_PROCESS_H
3
4
#include <QtGui>
5
6
#include "
us_extern.h
"
7
#include "
us_data_model.h
"
8
#include "
us_sync_exper.h
"
9
#include "
us_dataIO.h
"
10
#include "
us_db2.h
"
11
12
class
US_DataProcess
:
public
QObject
13
{
14
Q_OBJECT
15
16
public
:
17
US_DataProcess
(
US_DataModel
*, QWidget* = 0 );
18
19
int
record_upload
(
int
);
20
int
record_download
(
int
);
21
int
record_remove_db
(
int
);
22
int
record_remove_local
(
int
);
23
24
QString
lastError
(
void
);
25
void
partialError
(
int
,
int
);
26
void
appendError
( QString );
27
bool
raw_ancestor_ok
(
int
);
28
29
private
:
30
QString
errMsg
;
// message from last error
31
32
QWidget*
parentw
;
// parent widget
33
34
US_DB2
*
db
;
// pointer to database connection
35
36
US_DataModel
*
da_model
;
// data model object
37
38
US_DataModel::DataDesc
cdesc
;
// current record description
39
40
US_SyncExperiment
*
syncExper
;
// experiment synchronizer
41
42
int
dbg_level
;
43
44
private
slots:
45
QString
get_model_filename
(
US_DataModel::DataDesc
* );
46
QString
get_model_filename
( QString );
47
QString
get_noise_filename
(
US_DataModel::DataDesc
* );
48
QString
get_noise_filename
( QString );
49
};
50
#endif
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324