BiblioteQ
biblioteq_import.h
1 #ifndef _BIBLIOTEQ_IMPORT_H_
2 #define _BIBLIOTEQ_IMPORT_H_
3 
4 #include "ui_biblioteq_import.h"
5 
6 class QProgressDialog;
7 class biblioteq;
8 
9 class biblioteq_import: public QMainWindow
10 {
11  Q_OBJECT
12 
13  public:
14  biblioteq_import(biblioteq *parent);
15  void closeEvent(QCloseEvent *event);
16  void show(QMainWindow *parent);
17 
18  private:
19  QMap<int, QString> m_booksMappings;
20  Ui_importBrowser m_ui;
21  biblioteq *m_qmain;
22  void changeEvent(QEvent *event);
23  void importBooks(QProgressDialog *progress,
24  QStringList &errors,
25  qint64 *imported,
26  qint64 *notImported);
27 
28  private slots:
29  void slotAddBookRow(void);
30  void slotBooksTemplates(int index);
31  void slotClose(void);
32  void slotDeleteBookRow(void);
33  void slotImport(void);
34  void slotReset(void);
35  void slotSelectCSVFile(void);
36 };
37 
38 #endif
Definition: biblioteq_import.h:9
Definition: biblioteq.h:173