UltraScan III
us_sync_db.h
Go to the documentation of this file.
1 #ifndef US_SYNC_DB_H
3 #define US_SYNC_DB_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_widgets.h"
10 #include "us_db2.h"
11 #include "us_report.h"
12 
15 {
16  Q_OBJECT
17 
18  public:
19 
22 
23  US_SyncWithDB();
24 
25  private:
26  QPushButton* pb_invest;
27  QLineEdit* le_invest; // investigator text entry
28  QTextEdit* te_desc;
29 
30 
31  int nrunrpl; // Number of runids replaced
32  int nrunadd; // Number of runids newly added
33  int ndocrpl; // Number of documents replaced
34  int ndocadd; // Number of documents newly added
35 
36  bool newonly; // Flag if downloads are only of new records
37 
38  private slots:
39  void get_person ( void );
40  void scan_db_reports( void );
41  void cancelled ( void );
42  void accepted ( void );
43  void downnew ( void );
44 
45 };
46 #endif